From 3bdf15ec1c50492f8665505fcd2a29d9f1eefbba Mon Sep 17 00:00:00 2001 From: gocha Date: Sun, 25 Oct 2009 03:07:06 +0000 Subject: [PATCH] Modified LoadBackup() to notify savestate load to Lua --- src/state.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/state.cpp b/src/state.cpp index 189bd7dd..852ba9c9 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -1063,9 +1063,9 @@ void LoadBackup() string filename = GetBackupFileName(); //Get backup filename if (CheckBackupSaveStateExist()) { - internalSaveLoad = true; + //internalSaveLoad = true; FCEUSS_Load(filename.c_str()); //Load it - internalSaveLoad = false; + //internalSaveLoad = false; redoLS = true; //Flag redoLoadState undoLS = false; //Flag that LoadBackup cannot be run again }