From 88ce95470ca37404681a8572864ebe6d8219540d Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 6 Jul 2013 23:06:16 -0700 Subject: [PATCH] This one is worth reporting. --- Core/HLE/sceKernelThread.cpp | 4 ++-- Core/HLE/sceKernelThread.h | 2 +- Core/HLE/sceKernelVTimer.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/HLE/sceKernelThread.cpp b/Core/HLE/sceKernelThread.cpp index 6d567f01ae..bf714e5f0d 100644 --- a/Core/HLE/sceKernelThread.cpp +++ b/Core/HLE/sceKernelThread.cpp @@ -41,7 +41,7 @@ typedef struct { WaitType type; - char* name; + const char *name; } WaitTypeNames; const WaitTypeNames waitTypeNames[] = { @@ -68,7 +68,7 @@ const WaitTypeNames waitTypeNames[] = { { WAITTYPE_HLEDELAY, "HleDelay" } }; -char* getWaitTypeName(WaitType type) +const char *getWaitTypeName(WaitType type) { int waitTypeNamesAmount = sizeof(waitTypeNames)/sizeof(WaitTypeNames); diff --git a/Core/HLE/sceKernelThread.h b/Core/HLE/sceKernelThread.h index ef761fc474..0b877eccb4 100644 --- a/Core/HLE/sceKernelThread.h +++ b/Core/HLE/sceKernelThread.h @@ -96,7 +96,7 @@ enum WaitType NUM_WAITTYPES }; -char* getWaitTypeName(WaitType type); +const char *getWaitTypeName(WaitType type); // Suspend wait and timeout while a thread enters a callback. typedef void (* WaitBeginCallbackFunc)(SceUID threadID, SceUID prevCallbackId); diff --git a/Core/HLE/sceKernelVTimer.cpp b/Core/HLE/sceKernelVTimer.cpp index 7ede58d923..934a119e9e 100644 --- a/Core/HLE/sceKernelVTimer.cpp +++ b/Core/HLE/sceKernelVTimer.cpp @@ -441,5 +441,5 @@ u32 sceKernelReferVTimerStatus(u32 uid, u32 statusAddr) { // Not sure why this is exposed... void _sceKernelReturnFromTimerHandler() { - ERROR_LOG(HLE,"_sceKernelReturnFromTimerHandler - should not be called!"); + ERROR_LOG_REPORT(HLE,"_sceKernelReturnFromTimerHandler - should not be called!"); }