From 1b81825218d69805b2bacd5bb8a89e58bbdc093e Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 30 Apr 2023 14:57:45 +1000 Subject: [PATCH] x86/microVU: Fix typo in VI CRC Doesn't actually affect anything, only for debugging. --- pcsx2/x86/microVU.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/x86/microVU.h b/pcsx2/x86/microVU.h index 940eb59d9f..cb06232ec5 100644 --- a/pcsx2/x86/microVU.h +++ b/pcsx2/x86/microVU.h @@ -164,7 +164,7 @@ public: { u32 viCRC = 0, vfCRC = 0, crc = 0, z = sizeof(microRegInfo) / 4; for (u32 j = 0; j < 4; j++) viCRC -= ((u32*)linkI->block.pState.VI)[j]; - for (u32 j = 0; j < 32; j++) vfCRC -= linkI->block.pState.VF[j].x + (linkI->block.pState.VF[j].y << 8) + (linkI->block.pState.VF[j].z << 16) + (linkI->block.pState.VF[j].x << 24); + for (u32 j = 0; j < 32; j++) vfCRC -= linkI->block.pState.VF[j].x + (linkI->block.pState.VF[j].y << 8) + (linkI->block.pState.VF[j].z << 16) + (linkI->block.pState.VF[j].w << 24); for (u32 j = 0; j < z; j++) crc -= ((u32*)&linkI->block.pState)[j]; DevCon.WriteLn(Color_Green, "[%04x][Block #%d][crc=%08x][q=%02d][p=%02d][xgkick=%d][vi15=%04x][vi15v=%d][viBackup=%02d]"