*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:
dimok321 2009-05-11 21:19:00 +00:00
parent 5f5f2040aa
commit e2f9d727ac

View File

@ -2827,6 +2827,21 @@ static int MenuDiscList()
wiilight(0); 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; int ios2;
switch(iosChoice) switch(iosChoice)
{ {
@ -2907,6 +2922,21 @@ static int MenuDiscList()
wiilight(0); 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; int ios2;
switch(iosChoice) switch(iosChoice)
{ {