save menu settings

This commit is contained in:
dborth 2009-04-15 03:26:27 +00:00
parent d1fc2d085a
commit f3e034f8a0
2 changed files with 5 additions and 2 deletions

View File

@ -563,8 +563,8 @@ void NGCReportButtons ()
int i, j; int i, j;
Settings.TurboMode = ( Settings.TurboMode = (
(userInput[0].pad.substickX > 70) || userInput[0].pad.substickX > 70 ||
(userInput[0].WPAD_Stick(1,0) > 70) userInput[0].WPAD_Stick(1,0) > 70
); // RIGHT on c-stick and on classic controller right joystick ); // RIGHT on c-stick and on classic controller right joystick
/* Check for menu: /* Check for menu:

View File

@ -1912,6 +1912,9 @@ static int MenuGameSettings()
} }
} }
if(menu == MENU_GAME || menu == MENU_EXIT)
SavePrefs(NOTSILENT);
HaltGui(); HaltGui();
mainWindow->Remove(&w); mainWindow->Remove(&w);
return menu; return menu;