mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 21:14:21 +01:00
fix snapshot saving for games with SPC7110, BS, DSP, or CX4
This commit is contained in:
parent
8ce34860a3
commit
12a7c1cec2
@ -225,6 +225,7 @@ NGCUnFreezeBlock (char *name, uint8 * block, int size)
|
|||||||
buffer[10] != ':' || (len = strtol (&buffer[4], &e, 10)) == 0 ||
|
buffer[10] != ':' || (len = strtol (&buffer[4], &e, 10)) == 0 ||
|
||||||
e != buffer + 10)
|
e != buffer + 10)
|
||||||
{
|
{
|
||||||
|
bufoffset -= 11; // go back to where we started
|
||||||
return WRONG_FORMAT;
|
return WRONG_FORMAT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user