mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
moar working now.
This commit is contained in:
parent
aa59ee257e
commit
1d19145983
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user