diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index b1bb14ce01..f4897e3091 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -1059,7 +1059,7 @@ void __KernelSleepEndCallback(SceUID threadID, SceUID prevCallbackId) { DEBUG_LOG(SCEKERNEL, "sceKernelSleepThreadCB: resume from callback, wakeupCount decremented to %i", thread->nt.wakeupCount); __KernelResumeThreadFromWait(threadID, 0); } else { - DEBUG_LOG(SCEKERNEL, "sceKernelDelayThreadCB: Resuming sleep after callback"); + DEBUG_LOG(SCEKERNEL, "sceKernelSleepThreadCB: Resuming sleep after callback"); } } diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index e625abeb43..45d88f5f43 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -897,8 +897,8 @@ namespace MIPSInt if (F(fs) >= 0.0f) { FsI(fd) = (int)floorf(F(fs)); // Overflow, but it was positive. - if (FsI(fd) == -2147483648) { - FsI(fd) = 2147483647; + if (FsI(fd) == -2147483648LL) { + FsI(fd) = 2147483647LL; } } else { // Overflow happens to be the right value anyway.