mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Minor logging changes
This commit is contained in:
+2
-2
@@ -569,7 +569,7 @@ static int sceGeGetMtx(int type, u32 matrixPtr) {
|
||||
if (!gpu || !gpu->GetMatrix24(GEMatrixType(type), dest, 0))
|
||||
return hleLogError(Log::sceGe, SCE_KERNEL_ERROR_INVALID_INDEX, "invalid matrix");
|
||||
|
||||
return hleLogInfo(Log::sceGe, 0);
|
||||
return hleLogDebug(Log::sceGe, 0);
|
||||
}
|
||||
|
||||
static u32 sceGeGetCmd(int cmd) {
|
||||
@@ -599,7 +599,7 @@ static u32 sceGeGetCmd(int cmd) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return hleLogInfo(Log::sceGe, val);
|
||||
return hleLogDebug(Log::sceGe, val);
|
||||
}
|
||||
return hleLogError(Log::sceGe, SCE_KERNEL_ERROR_INVALID_INDEX);
|
||||
}
|
||||
|
||||
@@ -1219,6 +1219,7 @@ int sceKernelGetThreadExitStatus(SceUID threadID) {
|
||||
// Some return values don't deserve to be considered errors for logging.
|
||||
switch ((PSPErrorCode)status) {
|
||||
case SCE_KERNEL_ERROR_NOT_DORMANT:
|
||||
case SCE_KERNEL_ERROR_DORMANT:
|
||||
return hleLogDebug(Log::sceKernel, status);
|
||||
default:
|
||||
return hleLogDebugOrError(Log::sceKernel, status);
|
||||
|
||||
Reference in New Issue
Block a user