mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Fix some minor warnings.
This commit is contained in:
parent
710368d143
commit
6e54ce5551
@ -52,4 +52,6 @@ void ThunkManager::Shutdown()
|
||||
|
||||
void *ThunkManager::ProtectFunction(void *function, int num_params)
|
||||
{
|
||||
_dbg_assert_msg_(JIT, false, "Arm ThunkManager not implemented? Will crash.");
|
||||
return NULL;
|
||||
}
|
||||
|
@ -620,7 +620,7 @@ u32 sceDisplayIsForeground() {
|
||||
}
|
||||
|
||||
u32 sceDisplayGetMode(u32 modeAddr, u32 widthAddr, u32 heightAddr) {
|
||||
DEBUG_LOG(HLE,"sceDisplayGetMode()", modeAddr, widthAddr, heightAddr);
|
||||
DEBUG_LOG(HLE,"sceDisplayGetMode(%08x, %08x, %08x)", modeAddr, widthAddr, heightAddr);
|
||||
if (Memory::IsValidAddress(modeAddr))
|
||||
Memory::Write_U32(mode, modeAddr);
|
||||
if (Memory::IsValidAddress(widthAddr))
|
||||
|
@ -652,7 +652,7 @@ s64 sceIoLseek(int id, s64 offset, int whence) {
|
||||
u32 sceIoLseek32(int id, int offset, int whence) {
|
||||
s32 result = (s32) __IoLseek(id, offset, whence);
|
||||
if (result >= 0) {
|
||||
DEBUG_LOG(HLE, "%lli = sceIoLseek(%d, %x, %i)", result, id, offset, whence);
|
||||
DEBUG_LOG(HLE, "%i = sceIoLseek(%d, %x, %i)", result, id, offset, whence);
|
||||
// Educated guess at timing.
|
||||
return hleDelayResult(result, "io seek", 100);
|
||||
} else {
|
||||
|
@ -2025,7 +2025,7 @@ static void __KernelSleepThread(bool doCallbacks) {
|
||||
DEBUG_LOG(HLE, "sceKernelSleepThread() - wakeupCount decremented to %i", thread->nt.wakeupCount);
|
||||
RETURN(0);
|
||||
} else {
|
||||
VERBOSE_LOG(HLE, "sceKernelSleepThread()", thread->nt.wakeupCount);
|
||||
VERBOSE_LOG(HLE, "sceKernelSleepThread()");
|
||||
RETURN(0);
|
||||
__KernelWaitCurThread(WAITTYPE_SLEEP, 0, 0, 0, doCallbacks, "thread slept");
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ public:
|
||||
|
||||
virtual void SetDebugMode(bool mode) { }
|
||||
|
||||
virtual bool InitGL(std::string *error_message) {}
|
||||
virtual bool InitGL(std::string *error_message) { return true; }
|
||||
virtual void BeginFrame() {}
|
||||
virtual void ShutdownGL() {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user