mirror of https://github.com/snes9xgit/snes9x.git
snapshot: Store fixed string instead of ROMFilename.
This commit is contained in:
parent
7b9cadb3a1
commit
8a498a11d4
|
@ -1175,7 +1175,7 @@ void S9xFreezeToStream (STREAM stream)
|
|||
sprintf(buffer, "%s:%04d\n", SNAPSHOT_MAGIC, SNAPSHOT_VERSION);
|
||||
WRITE_STREAM(buffer, strlen(buffer), stream);
|
||||
|
||||
sprintf(buffer, "NAM:%06d:%s%c", (int) Memory.ROMFilename.length() + 1, Memory.ROMFilename.c_str(), 0);
|
||||
sprintf(buffer, "NAM:%06d:%s%c", 8, "Removed", 0);
|
||||
WRITE_STREAM(buffer, strlen(buffer) + 1, stream);
|
||||
|
||||
FreezeStruct(stream, "CPU", &CPU, SnapCPU, COUNT(SnapCPU));
|
||||
|
|
Loading…
Reference in New Issue