Fix some minor warnings.

This commit is contained in:
Unknown W. Brackets 2013-03-15 00:43:35 -07:00
parent 710368d143
commit 6e54ce5551
5 changed files with 6 additions and 4 deletions

View File

@ -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;
}

View File

@ -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))

View File

@ -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 {

View File

@ -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");
}

View File

@ -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() {}