mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix issue with hleLogDebugOrError where the return value argument got repeated.
Not good when the argument is a function call..
This commit is contained in:
1 parent
5712cf93e9
commit
1f5cfe82ed
4 files changed
+28
-20
No files matched your search
@@ -2173,10 +2173,9 @@ u32 sceKernelLoadModule(const char *name, u32 flags, u32 optionAddr) {
|
||||
return hleDelayResult(hleNoLog(module->GetUID()), "module loaded", 500);
|
||||
}
|
||||
|
||||
static u32 sceKernelLoadModuleNpDrm(const char *name, u32 flags, u32 optionAddr)
|
||||
{
|
||||
// TODO: Handle recursive syscall properly
|
||||
return hleLogDebugOrError(Log::Loader, sceKernelLoadModule(name, flags, optionAddr));
|
||||
static u32 sceKernelLoadModuleNpDrm(const char *name, u32 flags, u32 optionAddr) {
|
||||
// Just forward it, same parameters so the logging will make sense.
|
||||
return sceKernelLoadModule(name, flags, optionAddr);
|
||||
}
|
||||
|
||||
int __KernelStartModule(SceUID moduleId, u32 argsize, u32 argAddr, u32 returnValueAddr, SceKernelSMOption *smoption, bool *needsWait) {
|
||||
|
||||
Reference in new issue
Block a user