Various Cleanups

Make some sceFont functions fill in (fake) error codes

sceGeListSync seems to want a return value (fat princess, others)

Another missing sceKernelModule method (killzone)
This commit is contained in:
TMaul
2012-12-13 11:40:50 +00:00
parent dd54e3979e
commit 1c15b70277
3 changed files with 19 additions and 3 deletions
+8 -1
View File
@@ -756,11 +756,17 @@ void sceKernelFindModuleByName()
}
u32 sceKernelLoadModuleByID(u32 id, u32 flags, u32 lmoptionPtr) {
ERROR_LOG(HLE,"UNIMPL sceKernelLoadModuleById(%08x, %08x)", id, lmoptionPtr);
ERROR_LOG(HLE,"UNIMPL (%008x=sceKernelLoadModuleById(%08x, %08x)",id,id,lmoptionPtr);
// Apparenty, ID is a sceIo File UID. So this shouldn't be too hard when needed.
return id;
}
int ModuleMgrForUser_0xfef27dc1()
{
ERROR_LOG(HLE,"UNIMPL 0=ModuleMgrForUser_0xfef27dc1()");
return 0;
}
const HLEFunction ModuleMgrForUser[] =
{
{0x977DE386,&WrapU_CU<sceKernelLoadModule>,"sceKernelLoadModule"},
@@ -776,6 +782,7 @@ const HLEFunction ModuleMgrForUser[] =
{0xd8b73127,&WrapU_U<sceKernelGetModuleIdByAddress>, "sceKernelGetModuleIdByAddress"},
{0xf0a26395,&sceKernelGetModuleId, "sceKernelGetModuleId"},
{0x8f2df740,0,"sceKernelStopUnloadSelfModuleWithStatus"},
{0xfef27dc1,WrapI_V<ModuleMgrForUser_0xfef27dc1> , "ModuleMgrForUser_0xfef27dc1"},
};