Commit bf069d69 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Fix savestates

parent cf8273ef
Pipeline #30258 passed with stages
in 1 minute and 51 seconds
...@@ -485,7 +485,7 @@ static void Freeze() ...@@ -485,7 +485,7 @@ static void Freeze()
} }
sprintf(buffer, "%s:%04d\n", SNAPSHOT_MAGIC, SNAPSHOT_VERSION); sprintf(buffer, "%s:%04d\n", SNAPSHOT_MAGIC, SNAPSHOT_VERSION);
statef_write(buffer, strlen(buffer)); statef_write(buffer, strlen(buffer));
strcpy(buffer, "NAM:1:0"); strcpy(buffer, "NAM:000001:");
statef_write(buffer, strlen(buffer) + 1); statef_write(buffer, strlen(buffer) + 1);
FreezeStruct("CPU", &CPU, SnapCPU, COUNT(SnapCPU)); FreezeStruct("CPU", &CPU, SnapCPU, COUNT(SnapCPU));
FreezeStruct("REG", &Registers, SnapRegisters, COUNT(SnapRegisters)); FreezeStruct("REG", &Registers, SnapRegisters, COUNT(SnapRegisters));
......
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