Fix the bug where you see settings for the wrong game if you switch games during the game prompt.

This commit is contained in:
giantpune 2009-07-27 01:52:31 +00:00
parent c6fd33eeb1
commit 84e3d18533
2 changed files with 43 additions and 40 deletions

View File

@ -1271,6 +1271,9 @@ int MenuDiscList()
else if (Settings.gameDisplay==carousel) mainWindow->Remove(gameCarousel); else if (Settings.gameDisplay==carousel) mainWindow->Remove(gameCarousel);
mainWindow->Remove(&w); mainWindow->Remove(&w);
ResumeGui(); ResumeGui();
//re-evaluate header now in case they changed games while on the game prompt
header = &gameList[gameSelected];
int settret = GameSettings(header); int settret = GameSettings(header);
menu = MENU_DISCLIST; // refresh titles (needed if the language setting has changed) menu = MENU_DISCLIST; // refresh titles (needed if the language setting has changed)
HaltGui(); HaltGui();

View File

@ -1,4 +1,4 @@
#define SVN_REV "653M" #define SVN_REV "653:654M"
const char *GetRev() const char *GetRev()
{ {