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:
ramapcsx2 2012-03-17 12:55:02 +00:00
parent 9264b7725c
commit 1b883ab9ee
1 changed files with 3 additions and 1 deletions

View File

@ -433,7 +433,9 @@ 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];
}