moar working now.

This commit is contained in:
StapleButter 2018-09-15 02:14:08 +02:00
parent aa59ee257e
commit 1d19145983

View File

@ -160,6 +160,8 @@ void Savestate::Section(char* magic)
fseek(file, pos, SEEK_SET); fseek(file, pos, SEEK_SET);
} }
CurSection = (u32)ftell(file);
fwrite(magic, 4, 1, file); fwrite(magic, 4, 1, file);
fseek(file, 12, SEEK_CUR); fseek(file, 12, SEEK_CUR);
} }
@ -185,7 +187,7 @@ void Savestate::Section(char* magic)
continue; continue;
} }
fseek(file, 8, SEEK_CUR); fseek(file, 12, SEEK_CUR);
break; break;
} }
} }