GS/HW: Require FBW=1 for Jak OI fix

The legit palette draws all seem to use FBW 1.

There's a couple of draws which use the alpha channel of the FB which
are currently falsely triggering.
This commit is contained in:
Stenzek 2023-03-03 22:31:47 +10:00 committed by refractionpcsx2
parent 805f985144
commit 0bff6f7ad9
1 changed files with 1 additions and 1 deletions

View File

@ -1122,7 +1122,7 @@ bool GSHwHack::OI_ArTonelico2(GSRendererHW& r, GSTexture* rt, GSTexture* ds, GST
bool GSHwHack::OI_JakGames(GSRendererHW& r, GSTexture* rt, GSTexture* ds, GSTextureCache::Source* t)
{
if (!(r.m_r == GSVector4i(0, 0, 16, 16)).alltrue())
if (RCONTEXT->FRAME.FBW != 1 || !(r.m_r == GSVector4i(0, 0, 16, 16)).alltrue())
return true; // Only 16x16 draws.
if (!r.CanUseSwSpriteRender())