mirror of
https://github.com/dborth/vbagx.git
synced 2025-02-18 03:26:21 +01:00
Fixed saving of Game Settings when exiting Game Settings via the Close button instead of the Go Back button.
This commit is contained in:
parent
6958b9e6bb
commit
ad6ce0bcb7
@ -1786,6 +1786,7 @@ static int MenuGameSettings()
|
|||||||
else if(closeBtn.GetState() == STATE_CLICKED)
|
else if(closeBtn.GetState() == STATE_CLICKED)
|
||||||
{
|
{
|
||||||
menu = MENU_EXIT;
|
menu = MENU_EXIT;
|
||||||
|
SavePrefs(NOTSILENT);
|
||||||
|
|
||||||
exitSound->Play();
|
exitSound->Play();
|
||||||
bgTopImg->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_OUT, 15);
|
bgTopImg->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_OUT, 15);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user