Reset std::strings lastSavestateMade and lastLoadstateMade using clear method.
This commit is contained in:
parent
47435295ff
commit
2f7b4abab2
|
@ -225,10 +225,10 @@ static void FCEU_CloseGame(void)
|
|||
currFrameCounter = 0;
|
||||
|
||||
//Reset flags for Undo/Redo/Auto Savestating //adelikat: TODO: maybe this stuff would be cleaner as a struct or class
|
||||
lastSavestateMade[0] = 0;
|
||||
lastSavestateMade.clear();
|
||||
undoSS = false;
|
||||
redoSS = false;
|
||||
lastLoadstateMade[0] = 0;
|
||||
lastLoadstateMade.clear();
|
||||
undoLS = false;
|
||||
redoLS = false;
|
||||
AutoSS = false;
|
||||
|
|
Loading…
Reference in New Issue