Global: Fix some format warnings.

This commit is contained in:
Unknown W. Brackets 2023-01-18 21:42:19 -08:00
parent 40abcdb689
commit 6af6ccc1cf
3 changed files with 3 additions and 4 deletions

View file

@ -127,8 +127,7 @@ static int sceKernelFreeHeapMemory(int heapId, u32 block) {
return hleLogSuccessInfoI(SCEKERNEL, 0, "sceKernelFreeHeapMemory(%d): heapId,0: block", heapId);
}
if (!heap->alloc.FreeExact(block)) {
ERROR_LOG(SCEKERNEL, "sceKernelFreeHeapMemory(%d): heapId, block Invalid pointer ", heapId, block);
return SCE_KERNEL_ERROR_INVALID_POINTER;
return hleLogError(SCEKERNEL, SCE_KERNEL_ERROR_INVALID_POINTER, "invalid pointer %08x", block);
}
return hleLogSuccessInfoI(SCEKERNEL, 0, "sceKernelFreeHeapMemory(%d): heapId, block", heapId, block);