Fix more misuse of the hleLog* functions

This commit is contained in:
Henrik Rydgård
2025-01-19 13:09:30 +01:00
parent 5f5ad32f7e
commit 5316ec7ef7
8 changed files with 63 additions and 60 deletions
+1 -2
View File
@@ -2163,8 +2163,7 @@ u32 sceKernelLoadModule(const char *name, u32 flags, u32 optionAddr) {
}
return __KernelLoadExec(safeName.c_str(), 0, &error_string);
} else {
hleLogError(Log::Loader, error, "failed to load");
return hleDelayResult(error, "module loaded", 500);
return hleDelayResult(hleLogError(Log::Loader, error, "failed to load"), "module loaded", 500);
}
}