From 08d6f10d57fd1baa7a3dfe76a36a059a97fef8ae Mon Sep 17 00:00:00 2001 From: refraction Date: Thu, 9 Apr 2009 23:06:11 +0000 Subject: [PATCH] Slap my wrists for the silliest error ever :p only thing that gave it away was the sirens on top of the heads in Ape Escape 3 had no light lol git-svn-id: http://pcsx2.googlecode.com/svn/trunk@937 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/Vif.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcsx2/Vif.cpp b/pcsx2/Vif.cpp index 23587c1f4a..3ae921089d 100644 --- a/pcsx2/Vif.cpp +++ b/pcsx2/Vif.cpp @@ -369,10 +369,12 @@ void __fastcall UNPACK_V2(u32 *dest, T *data, int size) if(_vifRegs->offset == OFFSET_X && size > 0) { _UNPACKpart(_vifRegs->offset, *dest++, *data++); + size--; } if(_vifRegs->offset == OFFSET_Y && size > 0) { _UNPACKpart(_vifRegs->offset, *dest++, *data); + size--; } if(_vifRegs->offset == OFFSET_Z) { @@ -391,10 +393,12 @@ void __fastcall UNPACK_V3(u32 *dest, T *data, int size) if(_vifRegs->offset == OFFSET_X && size > 0) { _UNPACKpart(_vifRegs->offset, *dest++, *data++); + size--; } if(_vifRegs->offset == OFFSET_Y && size > 0) { _UNPACKpart(_vifRegs->offset, *dest++, *data++); + size--; } if(_vifRegs->offset == OFFSET_Z) {