mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 09:49:21 +01:00
*Fixed BUG: cIOS selected in the GameSettings wasnt loaded before gamestart! Now it should work fine and fix some freezer inside games. (issue 217, 227)
This commit is contained in:
parent
5f5f2040aa
commit
e2f9d727ac
@ -2827,6 +2827,21 @@ static int MenuDiscList()
|
||||
|
||||
wiilight(0);
|
||||
|
||||
struct Game_CFG* game_cfg = CFG_get_game_opt(header->id);
|
||||
|
||||
if (game_cfg)//if there are saved settings for this game use them
|
||||
{
|
||||
iosChoice = game_cfg->ios;
|
||||
}
|
||||
else// otherwise use the global settings
|
||||
{
|
||||
if(Settings.cios == ios222) {
|
||||
iosChoice = i222;
|
||||
} else {
|
||||
iosChoice = i249;
|
||||
}
|
||||
}
|
||||
|
||||
int ios2;
|
||||
switch(iosChoice)
|
||||
{
|
||||
@ -2907,6 +2922,21 @@ static int MenuDiscList()
|
||||
|
||||
wiilight(0);
|
||||
|
||||
struct Game_CFG* game_cfg = CFG_get_game_opt(header->id);
|
||||
|
||||
if (game_cfg)//if there are saved settings for this game use them
|
||||
{
|
||||
iosChoice = game_cfg->ios;
|
||||
}
|
||||
else// otherwise use the global settings
|
||||
{
|
||||
if(Settings.cios == ios222) {
|
||||
iosChoice = i222;
|
||||
} else {
|
||||
iosChoice = i249;
|
||||
}
|
||||
}
|
||||
|
||||
int ios2;
|
||||
switch(iosChoice)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user