mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
moar working now.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user