Richter64 / usbloader-gui

Automatically exported from code.google.com/p/usbloader-gui
0 stars 0 forks source link

[PATCH] Game-specific IOS won't be used unless settings dialog has been opened #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
usbloader-gui won't use the ios specified in the game settings dialog
unless the game settings dialog has been opened for that game before loading.

Steps to reproduce:
1. Start usbloader-gui
2. Choose a game to bring up the game window
3. Start the game without opening the settings dialog

The variable 'iosChoice' is written to in two places - once when the
settings dialog is opened and one when the game is loaded. However, in the
second case, the IOS is reloaded just after the call to GameWindowPrompt(),
before the game-specific settings are read, meaning the loader will use
whatever the value of iosChoice happened to be (the default, unless that
veriable has been populated by opening the game settings dialog.)

This patch moves the reading of the game settings to before the IOS is
reloaded.

Original issue reported on code.google.com by wiigrem...@googlemail.com on 4 May 2009 at 12:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dimok...@hotmail.de on 4 May 2009 at 5:52