mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Fix GDB stub
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user