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:
StapleButter
2018-10-18 04:00:16 +02:00
parent 20862b7daf
commit b5c39680a5
2 changed files with 47 additions and 41 deletions

View File

@ -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);