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