mirror of https://github.com/PCSX2/pcsx2.git
Fixed bug in Vif Unpack Recompiler causing Guitar Hero 3 to crash on the memorycard screen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4040 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
86fab4e955
commit
d8e80ff5fd
|
@ -204,7 +204,7 @@ _vifT static __fi u8* dVifsetVUptr(uint cl, uint wl, bool isFill) {
|
||||||
|
|
||||||
u8* startmem = VU.Mem + (vif.tag.addr & (vuMemLimit-0x10));
|
u8* startmem = VU.Mem + (vif.tag.addr & (vuMemLimit-0x10));
|
||||||
u8* endmem = VU.Mem + vuMemLimit;
|
u8* endmem = VU.Mem + vuMemLimit;
|
||||||
uint length = _vBlock.num * 16;
|
uint length = (_vBlock.num > 0) ? (_vBlock.num * 16) : 4096; // 0 = 256
|
||||||
|
|
||||||
if (!isFill) {
|
if (!isFill) {
|
||||||
// Accounting for skipping mode: Subtract the last skip cycle, since the skipped part of the run
|
// Accounting for skipping mode: Subtract the last skip cycle, since the skipped part of the run
|
||||||
|
|
Loading…
Reference in New Issue