Add state saving to tertiary kernel modules.

This commit is contained in:
Unknown W. Brackets
2012-12-28 13:55:25 -08:00
parent 91d727a65a
commit 3ed2045f6b
16 changed files with 112 additions and 14 deletions
+6
View File
@@ -172,6 +172,12 @@ static SceUID mainModuleID; // hack
// STATE END
//////////////////////////////////////////////////////////////////////////
void __KernelModuleDoState(PointerWrap &p)
{
p.Do(mainModuleID);
p.DoMarker("sceKernelModule");
}
Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *error_string)
{
Module *module = new Module;