mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
More reworking of Callbacks, plus some other little fixes.
This commit is contained in:
1 parent
cf098dfd67
commit
aea0580297
19 files changed
+704
-292
No files matched your search
@@ -567,6 +567,8 @@ u32 sceKernelLoadModule(const char *name, u32 flags)
|
||||
return SCE_KERNEL_ERROR_ILLEGAL_OBJECT;
|
||||
}
|
||||
|
||||
DEBUG_LOG(LOADER, "sceKernelLoadModule(%s, %08x)", name, flags);
|
||||
|
||||
SceKernelLMOption *lmoption = 0;
|
||||
int position = 0;
|
||||
// TODO: Use position to decide whether to load high or low
|
||||
@@ -633,8 +635,8 @@ void sceKernelUnloadModule()
|
||||
|
||||
void sceKernelGetModuleIdByAddress()
|
||||
{
|
||||
ERROR_LOG(HLE,"UNIMPL sceKernelGetModuleIdByAddress(%08x)", PARAM(0));
|
||||
if (PARAM(0) == 0x08800000)
|
||||
ERROR_LOG(HLE,"HACKIMPL sceKernelGetModuleIdByAddress(%08x)", PARAM(0));
|
||||
if ((PARAM(0) & 0xFFFF0000) == 0x08800000)
|
||||
RETURN(mainModuleID);
|
||||
else
|
||||
RETURN(0);
|
||||
|
||||
Reference in new issue
Block a user