Reset std::strings lastSavestateMade and lastLoadstateMade using clear method.

This commit is contained in:
harry 2023-01-20 23:42:05 -05:00
parent 47435295ff
commit 2f7b4abab2
1 changed files with 2 additions and 2 deletions

View File

@ -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;