* Options now correctly save when exitting the menu in html5

* Debug builds no longer quick save ever 5 seconds


git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1623 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2018-06-09 04:26:02 +00:00
parent 2367dc5e3e
commit 838fa92175
8 changed files with 36 additions and 36 deletions

View file

@ -913,6 +913,11 @@ void App::UpdateVideoSettings()
//SetFPSLimit(v);
};
void App::SaveSettings()
{
m_varDB.Save("save.dat");
}
void App::SaveAllData()
{
@ -924,7 +929,7 @@ void App::SaveAllData()
}
//GetAudioManager()->StopMusic();
m_varDB.Save("save.dat");
SaveSettings();
}
void App::OnEnterBackground()