Bug? Extra Save State Backups being created
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
Anyone?
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;
}
I see, thanks for the info. But shouldn't that only generate when you're making a movie then?
It's kind of annoying to always have that fake backup save constantly generating even if you're not messing with making movies.