mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 09:05:46 -04:00
CommonHostInterface: Move save state on exit logic to base class
This commit is contained in:
@ -374,11 +374,7 @@ void AndroidHostInterface::EmulationThreadEntryPoint(JNIEnv* env, jobject emulat
|
||||
{
|
||||
// System is ready to go.
|
||||
EmulationThreadLoop(env);
|
||||
|
||||
if (g_settings.save_state_on_exit)
|
||||
SaveResumeSaveState();
|
||||
|
||||
PowerOffSystem();
|
||||
PowerOffSystem(ShouldSaveResumeState());
|
||||
}
|
||||
|
||||
// Drain any callbacks so we don't leave things in a screwed-up state for next boot.
|
||||
|
Reference in New Issue
Block a user