mirror of https://github.com/PCSX2/pcsx2.git
newVif: >= to >
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2432 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
0fd4e40286
commit
4fbbb75020
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue