mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Adjust some logging.
Report logic op more correctly, cleanup an incorrect log.
This commit is contained in:
1 parent
91eb8b7cb1
commit
feada0ee65
3 files changed
+5
-7
No files matched your search
@@ -2559,7 +2559,7 @@ int sceKernelChangeCurrentThreadAttr(u32 clearAttr, u32 setAttr)
|
||||
// Seems like this is the only allowed attribute?
|
||||
if ((clearAttr & ~PSP_THREAD_ATTR_VFPU) != 0 || (setAttr & ~PSP_THREAD_ATTR_VFPU) != 0)
|
||||
{
|
||||
ERROR_LOG_REPORT(SCEKERNEL, "0 = sceKernelChangeCurrentThreadAttr(clear = %08x, set = %08x): invalid attr", clearAttr, setAttr);
|
||||
ERROR_LOG_REPORT(SCEKERNEL, "sceKernelChangeCurrentThreadAttr(clear = %08x, set = %08x): invalid attr", clearAttr, setAttr);
|
||||
return SCE_KERNEL_ERROR_ILLEGAL_ATTR;
|
||||
}
|
||||
|
||||
|
||||
@@ -1658,13 +1658,7 @@ void DIRECTX9_GPU::Execute_Generic(u32 op, u32 diff) {
|
||||
break;
|
||||
|
||||
case GE_CMD_LOGICOPENABLE:
|
||||
if (data != 0)
|
||||
ERROR_LOG_REPORT_ONCE(logicOpEnable, G3D, "Unsupported logic op enabled: %x", data);
|
||||
break;
|
||||
|
||||
case GE_CMD_LOGICOP:
|
||||
if (data != 0)
|
||||
ERROR_LOG_REPORT_ONCE(logicOp, G3D, "Unsupported logic op: %06x", data);
|
||||
break;
|
||||
|
||||
case GE_CMD_ANTIALIASENABLE:
|
||||
|
||||
@@ -313,6 +313,10 @@ void TransformDrawEngineDX9::ApplyBlendState() {
|
||||
break;
|
||||
}
|
||||
|
||||
if (gstate.isLogicOpEnabled() && gstate.getLogicOp() != GE_LOGIC_COPY) {
|
||||
WARN_LOG_REPORT_ONCE(logicOpBlend, G3D, "Logic op and blend enabled, unsupported.");
|
||||
}
|
||||
|
||||
dxstate.blend.enable();
|
||||
dxstate.blendSeparate.enable();
|
||||
ResetShaderBlending();
|
||||
|
||||
Reference in new issue
Block a user