mirror of https://github.com/PCSX2/pcsx2.git
VU: Fix address masking in MTVU
This commit is contained in:
parent
93e5f86e24
commit
98b19656c9
|
@ -144,7 +144,7 @@ void VU_Thread::ExecuteRingBuffer()
|
|||
vifRegs.itop = Read();
|
||||
|
||||
if (addr != -1)
|
||||
vuRegs.VI[REG_TPC].UL = addr;
|
||||
vuRegs.VI[REG_TPC].UL = addr & 0x7FF;
|
||||
vuCPU->SetStartPC(vuRegs.VI[REG_TPC].UL << 3);
|
||||
vuCPU->Execute(vu1RunCycles);
|
||||
gifUnit.gifPath[GIF_PATH_1].FinishGSPacketMTVU();
|
||||
|
|
|
@ -69,7 +69,7 @@ void __fastcall vu1ExecMicro(u32 addr)
|
|||
if(VU0.VI[REG_FBRST].UL & 0x800)
|
||||
VU0.VI[REG_VPU_STAT].UL |= 0x0100;
|
||||
|
||||
vu1Thread.ExecuteVU(addr & 0x7FF, vif1Regs.top, vif1Regs.itop);
|
||||
vu1Thread.ExecuteVU(addr, vif1Regs.top, vif1Regs.itop);
|
||||
return;
|
||||
}
|
||||
static int count = 0;
|
||||
|
|
Loading…
Reference in New Issue