mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 02:29:17 +01:00
Correct state restoring (it does something but still fails)
This commit is contained in:
parent
0d03c4b786
commit
cad26b24bd
@ -343,12 +343,12 @@ static void save_load_state(int which)
|
||||
|
||||
if (!name)
|
||||
return;
|
||||
snprintf(db, 255, "%s/%s", dir, name);
|
||||
|
||||
if (which == 0)
|
||||
restore_state(db);
|
||||
restore_state(name);
|
||||
else
|
||||
unlink(db);
|
||||
unlink(name);
|
||||
free(name);
|
||||
} break;
|
||||
case 1: /* Save state */
|
||||
snprintf(db, 255, "%s/%s.sav", dir, fb);
|
||||
|
Loading…
Reference in New Issue
Block a user