mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Fix a bad == comparison typo.
This commit is contained in:
parent
30f363a71f
commit
2f90c8d35a
@ -512,7 +512,7 @@ u32 sceKernelRegisterSubIntrHandler(u32 intrNumber, u32 subIntrNumber, u32 handl
|
||||
} else {
|
||||
DEBUG_LOG(SCEINTC, "sceKernelRegisterSubIntrHandler(%i, %i, %08x, %08x)", intrNumber, subIntrNumber, handler, handlerArg);
|
||||
}
|
||||
} else if (error = SCE_KERNEL_ERROR_FOUND_HANDLER) {
|
||||
} else if (error == SCE_KERNEL_ERROR_FOUND_HANDLER) {
|
||||
ERROR_LOG_REPORT(SCEINTC, "sceKernelRegisterSubIntrHandler(%i, %i, %08x, %08x): duplicate handler", intrNumber, subIntrNumber, handler, handlerArg);
|
||||
} else {
|
||||
ERROR_LOG_REPORT(SCEINTC, "sceKernelRegisterSubIntrHandler(%i, %i, %08x, %08x): error %08x", intrNumber, subIntrNumber, handler, handlerArg, error);
|
||||
@ -532,7 +532,7 @@ u32 sceKernelReleaseSubIntrHandler(u32 intrNumber, u32 subIntrNumber) {
|
||||
|
||||
u32 error = __ReleaseSubIntrHandler(intrNumber, subIntrNumber);
|
||||
if (error != SCE_KERNEL_ERROR_OK) {
|
||||
ERROR_LOG(SCEINTC, "sceKernelReleaseSubIntrHandler(%i, %i): error %08x", intrNumber, subIntrNumber);
|
||||
ERROR_LOG(SCEINTC, "sceKernelReleaseSubIntrHandler(%i, %i): error %08x", intrNumber, subIntrNumber, error);
|
||||
}
|
||||
return error;
|
||||
}
|
||||
|
@ -1252,7 +1252,7 @@ Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *erro
|
||||
default:
|
||||
func.nid = nid;
|
||||
func.symAddr = exportAddr;
|
||||
if (ent->name == NULL) {
|
||||
if (ent->name == 0) {
|
||||
WARN_LOG_REPORT(HLE, "Exporting func from syslib export: %08x", nid);
|
||||
}
|
||||
module->ExportFunc(func);
|
||||
@ -1309,7 +1309,7 @@ Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *erro
|
||||
default:
|
||||
var.nid = nid;
|
||||
var.symAddr = exportAddr;
|
||||
if (ent->name == NULL) {
|
||||
if (ent->name == 0) {
|
||||
WARN_LOG_REPORT(HLE, "Exporting var from syslib export: %08x", nid);
|
||||
}
|
||||
module->ExportVar(var);
|
||||
|
Loading…
Reference in New Issue
Block a user