Fix savestates from before v0.9.6-536-g62e9e42.

Unfortunately, this breaks savestates made since then until this is
merged.  However, that's only a day or so.

Fixes #5183.
This commit is contained in:
Unknown W. Brackets 2014-01-22 21:48:29 -08:00
parent d61da047d2
commit c2d2b25ced

View file

@ -259,8 +259,6 @@ void RegisterAllModules() {
Register_ThreadManForUser();
Register_ThreadManForKernel();
Register_LoadExecForUser();
Register_LoadExecForKernel();
Register_SysMemForKernel();
Register_UtilsForKernel();
Register_SysMemUserForUser();
Register_InterruptManager();
@ -319,5 +317,9 @@ void RegisterAllModules() {
{
RegisterModule(moduleList[i].name, moduleList[i].numFunctions, moduleList[i].funcTable);
}
// New modules have to be added at the end, or they will break savestates.
Register_LoadExecForKernel();
Register_SysMemForKernel();
}