Bind SSLOADPARAM_BACKUP to backupsavestates bool

This commit is contained in:
adelikat 2010-05-28 03:28:44 +00:00
parent fcdbf68117
commit 988753e116
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ bool FCEUSS_Load(const char *fname)
//If in bot mode, don't do a backup when loading.
//Otherwise you eat at the hard disk, since so many
//states are being loaded.
if(FCEUSS_LoadFP(st,SSLOADPARAM_BACKUP))
if(FCEUSS_LoadFP(st, backupSavestates ? SSLOADPARAM_BACKUP : SSLOADPARAM_NOBACKUP))
{
if(fname)
{