fixed a bug from my last revision...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1869 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2009-09-19 04:25:17 +00:00
parent 32e8a8a260
commit ca8437dd0a
1 changed files with 2 additions and 4 deletions

View File

@ -97,10 +97,8 @@ struct GIFPath
__forceinline void PrepRegs(bool doPrep);
__forceinline void SetTag(const void* mem);
__forceinline bool StepReg()
{
u32 numRegs = ((tag.nreg-1)&0xf)+1;
if ((++curreg & 0xf) == numRegs) {
__forceinline bool StepReg() {
if ((++curreg & 0xf) == tag.nreg) {
curreg = 0;
if (--tag.nloop == 0) {
return false;