Fix typo in r900.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@902 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2009-04-03 23:18:11 +00:00
parent fdcff57365
commit 12cba61302
1 changed files with 2 additions and 2 deletions

View File

@ -431,8 +431,8 @@ void __fastcall UNPACK_V2_16s(u32 *dest, u32 *data, int size)
void __fastcall UNPACK_V2_16u(u32 *dest, u32 *data, int size)
{
u16 *sdata = (u16*)data;
if (size > 0) if (_UNPACKpart(OFFSET_X, dest++, *sdata++));
if (size > 0) if (_UNPACKpart(OFFSET_Y, dest++, *sdata--));
if (size > 0) if (_UNPACKpart(OFFSET_X, dest++, *sdata++)) size--;
if (size > 0) if (_UNPACKpart(OFFSET_Y, dest++, *sdata--)) size--;
_UNPACKpart(OFFSET_Z, dest++, *sdata++);
_UNPACKpart(OFFSET_W, dest , *sdata);
if (_vifRegs->offset == 4) _vifRegs->offset = 0;