Modified LoadBackup() to notify savestate load to Lua
This commit is contained in:
parent
0bc230bd31
commit
3bdf15ec1c
|
@ -1063,9 +1063,9 @@ void LoadBackup()
|
||||||
string filename = GetBackupFileName(); //Get backup filename
|
string filename = GetBackupFileName(); //Get backup filename
|
||||||
if (CheckBackupSaveStateExist())
|
if (CheckBackupSaveStateExist())
|
||||||
{
|
{
|
||||||
internalSaveLoad = true;
|
//internalSaveLoad = true;
|
||||||
FCEUSS_Load(filename.c_str()); //Load it
|
FCEUSS_Load(filename.c_str()); //Load it
|
||||||
internalSaveLoad = false;
|
//internalSaveLoad = false;
|
||||||
redoLS = true; //Flag redoLoadState
|
redoLS = true; //Flag redoLoadState
|
||||||
undoLS = false; //Flag that LoadBackup cannot be run again
|
undoLS = false; //Flag that LoadBackup cannot be run again
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue