diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-07-25 13:54:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-25 13:54:02 +1000 |
| commit | a8bbbd0bfcecf668c2b9fdcfe5f439905d71228e (patch) | |
| tree | 3022ea33a221ffe9a8b5b6570b1e06d7ce9371b8 /Source/Core | |
| parent | ac9912bad3ad35b1ef27151ba724a3424c110acc (diff) | |
| parent | da87638ea256355050e83e989ade329b88172805 (diff) | |
Merge pull request #8262 from Tilka/gdbstub
Fix GDB stub build
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/GDBStub.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/Core/PowerPC/Jit64/Jit.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/PowerPC/GDBStub.cpp b/Source/Core/Core/PowerPC/GDBStub.cpp index 10d5fd91fd..33fcab9abe 100644 --- a/Source/Core/Core/PowerPC/GDBStub.cpp +++ b/Source/Core/Core/PowerPC/GDBStub.cpp @@ -440,7 +440,7 @@ static void gdb_read_register() wbe32hex(reply, GPR(id)); break; case 32 ... 63: - wbe64hex(reply, riPS0(id - 32)); + wbe64hex(reply, rPS(id - 32).PS0AsU64()); break; case 64: wbe32hex(reply, PC); @@ -525,7 +525,7 @@ static void gdb_write_register() GPR(id) = re32hex(bufptr); break; case 32 ... 63: - riPS0(id - 32) = re64hex(bufptr); + rPS(id - 32).SetPS0(re64hex(bufptr)); break; case 64: PC = re32hex(bufptr); diff --git a/Source/Core/Core/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/PowerPC/Jit64/Jit.cpp index 6934f66479..aa6fa49047 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit.cpp @@ -706,7 +706,7 @@ void Jit64::Trace() #ifdef JIT_LOG_FPR for (int i = 0; i < 32; i++) { - fregs += StringFromFormat("f%02d: %016x ", i, riPS0(i)); + fregs += StringFromFormat("f%02d: %016x ", i, rPS(i).PS0AsU64()); } #endif |
