Do cheat saving magic on close rom, not close emulator

This commit is contained in:
adelikat 2015-01-27 22:23:56 +00:00
parent 9757709242
commit d61f1dd058
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,6 @@ namespace BizHawk.Client.EmuHawk
{
if (GlobalWin.Tools.AskSave())
{
Global.CheatList.SaveOnClose();
CloseGame();
Global.MovieSession.Movie.Stop();
GlobalWin.Tools.Close();
@ -3526,6 +3525,8 @@ namespace BizHawk.Client.EmuHawk
{
StopMovie(true);
}
Global.CheatList.SaveOnClose();
Global.Emulator.Dispose();
Global.CoreComm = CreateCoreComm();
CoreFileProvider.SyncCoreCommInputSignals();