zzogl-pg: Bug fig on new register code.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3457 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-07-11 04:53:09 +00:00
parent c3006f6022
commit 2e3ca85647
1 changed files with 5 additions and 4 deletions

View File

@ -319,6 +319,11 @@ void __fastcall GIFRegHandlerTEX0(u32* data)
return;
}
// Order is important.
ZeroGS::vb[i].uNextTex0Data[0] = r->ai32[0];
ZeroGS::vb[i].uNextTex0Data[1] = r->ai32[1];
ZeroGS::vb[i].bNeedTexCheck = 1;
// don't update unless necessary
if (PSMT_ISCLUT(psm))
{
@ -333,10 +338,6 @@ void __fastcall GIFRegHandlerTEX0(u32* data)
ZeroGS::Flush(i); // flush any previous entries
}
}
ZeroGS::vb[i].uNextTex0Data[0] = r->ai32[0];
ZeroGS::vb[i].uNextTex0Data[1] = r->ai32[1];
ZeroGS::vb[i].bNeedTexCheck = 1;
}
template <u32 i>