mirror of https://github.com/snes9xgit/snes9x.git
Restrict "absent" messages during snapshot loading to DEBUGGER
This commit is contained in:
parent
8e1b726b6b
commit
5bf62c9d2f
|
@ -2065,7 +2065,9 @@ static int UnfreezeBlock (STREAM stream, const char *name, uint8 *block, int siz
|
||||||
if (l != 11 || strncmp(buffer, name, 3) != 0 || buffer[3] != ':')
|
if (l != 11 || strncmp(buffer, name, 3) != 0 || buffer[3] != ':')
|
||||||
{
|
{
|
||||||
err:
|
err:
|
||||||
|
#ifdef DEBUGGER
|
||||||
fprintf(stdout, "absent: %s(%d); next: '%.11s'\n", name, size, buffer);
|
fprintf(stdout, "absent: %s(%d); next: '%.11s'\n", name, size, buffer);
|
||||||
|
#endif
|
||||||
REVERT_STREAM(stream, FIND_STREAM(stream) - l, 0);
|
REVERT_STREAM(stream, FIND_STREAM(stream) - l, 0);
|
||||||
return (WRONG_FORMAT);
|
return (WRONG_FORMAT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue