mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
hax, finally making savestates usable
F1 to save, F2 to load. filename hardcoded for now. shits itself: * when the 3D engine is used * when a debugger is used (heh)
This commit is contained in:
@ -120,7 +120,7 @@ void DMA::Reset()
|
||||
|
||||
void DMA::DoSavestate(Savestate* file)
|
||||
{
|
||||
char* magic = "DMAx";
|
||||
char magic[5] = "DMAx";
|
||||
magic[3] = '0' + Num + (CPU*4);
|
||||
file->Section(magic);
|
||||
|
||||
|
Reference in New Issue
Block a user