mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-09 10:32:51 +00:00
Fix a warning on 32-bit that might be bad...
This commit is contained in:
parent
392edb4f84
commit
c1e293fe7c
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user