diff --git a/Core/HLE/sceKernelMemory.cpp b/Core/HLE/sceKernelMemory.cpp index 7c04fa7dec..432a4d5f11 100644 --- a/Core/HLE/sceKernelMemory.cpp +++ b/Core/HLE/sceKernelMemory.cpp @@ -1971,9 +1971,9 @@ int __KernelFreeTls(TLSPL *tls, SceUID threadID) ++tls->ntls.freeBlocks; return 0; } - // TODO: Correct error code. + // We say "okay" even though nothing was freed. else - return -1; + return 0; } void __KernelTlsplThreadEnd(SceUID threadID)