mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X: Add an assertion that I used (in a more stupid and long winded form) to find the effects memory corruption bug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5427 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
8d07fdf165
commit
2cc794e638
|
@ -37,6 +37,7 @@ __forceinline s32 V_Core::RevbGetIndexer( s32 offset )
|
||||||
pos += EffectsStartA;
|
pos += EffectsStartA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert(pos >= EffectsStartA && pos <= EffectsEndA);
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue