diff --git a/plugins/GSdx/GS.h b/plugins/GSdx/GS.h index 44472a4c6f..64bcfc92b1 100644 --- a/plugins/GSdx/GS.h +++ b/plugins/GSdx/GS.h @@ -31,6 +31,9 @@ #define MAX_PAGES 512 #define MAX_BLOCKS 16384 +#define DISABLE_BITMASKING +#define DISABLE_COLCLAMP + #include "GSVector.h" #pragma pack(push, 1) diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index 2281fd3953..a8f991e380 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -792,6 +792,9 @@ void GSState::GIFRegHandlerCOLCLAMP(GIFReg* r) } m_env.COLCLAMP = (GSVector4i)r->COLCLAMP; +#ifdef DISABLE_COLCLAMP + m_env.COLCLAMP.CLAMP = 1; +#endif } template void GSState::GIFRegHandlerTEST(GIFReg* r) @@ -839,6 +842,9 @@ template void GSState::GIFRegHandlerFRAME(GIFReg* r) } m_env.CTXT[i].FRAME = (GSVector4i)r->FRAME; +#ifdef DISABLE_BITMASKING + m_env.CTXT[i].FRAME.FBMSK = GSVector4i::store(GSVector4i::load((int)m_env.CTXT[i].FRAME.FBMSK).eq8(GSVector4i::xffffffff())); +#endif } template void GSState::GIFRegHandlerZBUF(GIFReg* r)