mirror of https://github.com/PCSX2/pcsx2.git
gsdx: add UserHacks_ColorDepthClearOverlap to test some new code
debug only
This commit is contained in:
parent
621d1d93db
commit
b9bc5b5c60
|
@ -658,14 +658,14 @@ void GSRendererHW::Hacks::SetGameCRC(const CRC::Game& game)
|
|||
|
||||
m_oi = &GSRendererHW::OI_PointListPalette;
|
||||
}
|
||||
#if 0
|
||||
// FIXME: Enable this code in the future. I think it could replace
|
||||
// most of the "old" OI hack. So far code was tested on GoW2 & SimpsonsGame with
|
||||
// success
|
||||
if (m_oi == NULL) {
|
||||
|
||||
bool hack = theApp.GetConfig("UserHacks_ColorDepthClearOverlap", 0) && theApp.GetConfig("UserHacks", 0);
|
||||
if (hack && !m_oi) {
|
||||
// FIXME: Enable this code in the future. I think it could replace
|
||||
// most of the "old" OI hack. So far code was tested on GoW2 & SimpsonsGame with
|
||||
// success
|
||||
m_oi = &GSRendererHW::OI_DoubleHalfClear;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool GSRendererHW::OI_DoubleHalfClear(GSTexture* rt, GSTexture* ds, GSTextureCache::Source* t)
|
||||
|
|
Loading…
Reference in New Issue