fix snapshot saving for games with SPC7110, BS, DSP, or CX4

This commit is contained in:
dborth 2008-10-17 07:43:37 +00:00
parent 8ce34860a3
commit 12a7c1cec2

View File

@ -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;
} }