Save game info on menu exit

This commit is contained in:
simon.kagstrom 2010-01-30 11:48:57 +00:00
parent 4bcf907f4e
commit 7ff83399c1

View File

@ -303,6 +303,8 @@ void Gui::exitMenu()
; ;
TheC64->NewPrefs(this->np); TheC64->NewPrefs(this->np);
ThePrefs = *this->np; ThePrefs = *this->np;
this->saveGameInfo();
} }
void Gui::pushEvent(SDL_Event *ev) void Gui::pushEvent(SDL_Event *ev)