mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
Quick and sloppy fix for a sloppy hack, fixing FF12 pal. Thanks, pseudonym. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5133 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
9264b7725c
commit
1b883ab9ee
|
@ -434,6 +434,8 @@ bool GSRendererHW::OI_FFXII(GSTexture* rt, GSTexture* ds, GSTextureCache::Source
|
|||
int x = (v->XYZ.X - ox) >> 4;
|
||||
int y = (v->XYZ.Y - oy) >> 4;
|
||||
|
||||
if (x >= 448 || y >= (int)lines) return false; // sigh
|
||||
|
||||
video[(y << 8) + (y << 7) + (y << 6) + x] = v->RGBAQ.u32[0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue