VU: Fix wrong width write to xgkicklastcycle

This commit is contained in:
Ziemas authored and Ty committed 2026-11-12 11:28:44 -05:00
1 parent 82cac38b2a
commit 62a79afff9
1 file changed
+2 -2
+2 -2
View File
@@ -1857,8 +1857,8 @@ mVUop(mVU_XGKICK)
xMOV(ptr32[&VU1.xgkickcyclecount], 0);
xMOV(gprT2, ptr32[&mVU.totalCycles]);
xSUB(gprT2, ptr32[&mVU.cycles]);
xADD(gprT2, ptr64[&VU1.cycle]);
xMOV(ptr32[&VU1.xgkicklastcycle], gprT2);
xADD(gprT2q, ptr64[&VU1.cycle]);
xMOV(ptr64[&VU1.xgkicklastcycle], gprT2q);
xMOV(gprT1, regS);
xAND(gprT1, 0x3FF);
xSHL(gprT1, 4);