x86/iR5900: Fix compiling with DUMP_BLOCKS

This commit is contained in:
Connor McLaughlin 2022-11-19 15:36:07 +10:00 committed by refractionpcsx2
parent 9ab449dcf3
commit 6793a84f9b
1 changed files with 2 additions and 2 deletions

View File

@ -199,9 +199,9 @@ static ZyanStatus ZydisFormatterPrintAddressAbsolute(const ZydisFormatter* forma
{
len = snprintf(buf, sizeof(buf), "cpuRegs.cycle");
}
else if (address == A(&g_nextEventCycle))
else if (address == A(&cpuRegs.nextEventCycle))
{
len = snprintf(buf, sizeof(buf), "g_nextEventCycle");
len = snprintf(buf, sizeof(buf), "cpuRegs.nextEventCycle");
}
else if (address >= A(fpuRegs.fpr) && address < A(fpuRegs.fprc))
{