PowerPC: Remove GPR macro.

This commit is contained in:
Admiral H. Curtiss 2023-01-09 23:12:37 +01:00
commit 8fccefa3aa
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
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(