You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have the "Backup savestates" option enabled. It works fine, but I notice it always creates TWO backups of slot 0. It even creates that extra backup if I LOAD any save state slot.
To Reproduce
Steps to reproduce the behavior:
Boot any game.
Load any save slot (even if it's empty)
It will create a backup called "gamename.bak.fc0" (regular backups are named "gamename-bak.fc0", notice the dash there)
Expected behavior
It should not create that extra ".bak.fc0"
Screenshots
(please complete the following information):
OS and Version: Win10 Pro 64bit
FCEUX 2.6.6 non QT
The text was updated successfully, but these errors were encountered:
appears to be intentional regardless of a state exists or not for movie purposes
in state.cpp line 1133
string GetBackupFileName()
{
//This backup savestate is a special one specifically made whenever a loadstate occurs so that the user's place in a movie/game is never lost
//particularly from unintentional loadstating
string filename;
int x;
filename = FCEU_MakeFName(FCEUMKF_STATE,CurrentState,0); //Generate normal savestate filename
x = filename.find_last_of("."); //Find last dot
filename = filename.substr(0,x); //Chop off file extension
filename.append(".bak.fc0"); //add .bak
return filename;
}
Describe the bug
I have the "Backup savestates" option enabled. It works fine, but I notice it always creates TWO backups of slot 0. It even creates that extra backup if I LOAD any save state slot.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should not create that extra ".bak.fc0"
Screenshots
(please complete the following information):
The text was updated successfully, but these errors were encountered: