mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 12:06:55 +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)
|
if (!name)
|
||||||
return;
|
return;
|
||||||
snprintf(db, 255, "%s/%s", dir, name);
|
|
||||||
|
|
||||||
if (which == 0)
|
if (which == 0)
|
||||||
restore_state(db);
|
restore_state(name);
|
||||||
else
|
else
|
||||||
unlink(db);
|
unlink(name);
|
||||||
|
free(name);
|
||||||
} break;
|
} break;
|
||||||
case 1: /* Save state */
|
case 1: /* Save state */
|
||||||
snprintf(db, 255, "%s/%s.sav", dir, fb);
|
snprintf(db, 255, "%s/%s.sav", dir, fb);
|
||||||
|
Loading…
Reference in New Issue
Block a user