newVif: >= to >

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2432 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2010-01-16 03:32:03 +00:00
parent 0fd4e40286
commit 4fbbb75020
1 changed files with 2 additions and 2 deletions

View File

@ -235,8 +235,8 @@ static _f u8* dVifsetVUptr(const nVifStruct& v, int cl, int wl, bool isFill) {
int skips = (blocks * skipSize + _vBlock.num) * 16;
endPtr = ptr + skips;
}
else endPtr = ptr + (_vBlock.num * 16);
if ( endPtr >= v.vuMemEnd ) {
else endPtr = ptr + (_vBlock.num * 16);
if ( endPtr > v.vuMemEnd ) {
DevCon.WriteLn("nVif - VU Mem Ptr Overflow; falling back to interpreter.");
ptr = NULL; // Fall Back to Interpreters which have wrap-around logic
}