*Fixed some Bugs like Ocarina/some game not running anymore and so on

This commit is contained in:
dimok321 2009-05-05 23:07:22 +00:00
parent 28c51cd5e8
commit 046be61cc4

View File

@ -1613,7 +1613,7 @@ ProgressDownloadWindow(int choice2)
prTxt.SetText(prozent);
prTxt.SetFont(fontClock);
progressbarImg.SetTile(100*i/cntMissFiles);
sprintf(msg, "%i file(s) left", cntMissFiles - i);
msgTxt.SetText(msg);
sprintf(msg2, "%s", missingFiles[i]);
@ -4185,6 +4185,25 @@ int MainMenu(int menu)
__io_wiisd.shutdown();
ExitApp();
struct discHdr *header = &gameList[gameSelected];
struct Game_CFG* game_cfg = CFG_get_game_opt(header->id);
if (game_cfg) {
videoChoice = game_cfg->video;
languageChoice = game_cfg->language;
ocarinaChoice = game_cfg->ocarina;
viChoice = game_cfg->vipatch;
} else {
videoChoice = Settings.video;
languageChoice = Settings.language;
ocarinaChoice = Settings.ocarina;
viChoice = Settings.vpatch;
}
switch(languageChoice)
{
case ConsoleLangDefault: