PowerPC: Remove GPR macro.

This commit is contained in:
Admiral H. Curtiss
2023-01-09 23:12:37 +01:00
parent ba1b624e1b
commit 8fccefa3aa
11 changed files with 44 additions and 39 deletions

View File

@ -314,8 +314,8 @@ void RegisterWidget::PopulateTable()
{
// General purpose registers (int)
AddRegister(
i, 0, RegisterType::gpr, "r" + std::to_string(i), [i] { return GPR(i); },
[i](u64 value) { GPR(i) = value; });
i, 0, RegisterType::gpr, "r" + std::to_string(i), [i] { return PowerPC::ppcState.gpr[i]; },
[i](u64 value) { PowerPC::ppcState.gpr[i] = value; });
// Floating point registers (double)
AddRegister(