Commit 1649a31d authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Fix savestates

parent 84f656b7
Pipeline #44468 failed with stages
in 13 minutes and 28 seconds
......@@ -1261,7 +1261,7 @@ void S9xFreezeToStream (STREAM stream)
snprintf(buffer, sizeof(buffer), "%s:%04d\n", SNAPSHOT_MAGIC, SNAPSHOT_VERSION);
WRITE_STREAM(buffer, (uint64_t)strlen(buffer), stream);
strcpy(buffer, "NAM:1:0");
strcpy(buffer, "NAM:000001:");
WRITE_STREAM(buffer, (uint64_t)strlen(buffer) + 1, stream);
FreezeStruct(stream, "CPU", &CPU, SnapCPU, COUNT(SnapCPU));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment