mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
VIF: use outer cast in VU cycle checks
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ __fi void vif1SetupTransfer()
|
||||
__fi void vif1VUFinish()
|
||||
{
|
||||
// Sync up VU1 so we don't errantly wait.
|
||||
while (!THREAD_VU1 && (static_cast<int>(cpuRegs.cycle) - static_cast<int>(VU1.cycle)) > 0 && (VU0.VI[REG_VPU_STAT].UL & 0x100))
|
||||
while (!THREAD_VU1 && static_cast<int>(cpuRegs.cycle - VU1.cycle) > 0 && (VU0.VI[REG_VPU_STAT].UL & 0x100))
|
||||
CpuVU1->ExecuteBlock();
|
||||
|
||||
if (VU0.VI[REG_VPU_STAT].UL & 0x500)
|
||||
|
||||
Reference in New Issue
Block a user