gsdx: add UserHacks_ColorDepthClearOverlap to test some new code

debug only
This commit is contained in:
Gregory Hainaut 2015-07-03 22:13:35 +02:00
parent 621d1d93db
commit b9bc5b5c60
1 changed files with 6 additions and 6 deletions

View File

@ -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)