gdb: add monitor get mapping (ryubing/ryujinx!215)

See merge request ryubing/ryujinx!215
This commit is contained in:
Coxxs
2025-12-21 22:34:20 -06:00
committed by LotP
parent 66f339d265
commit ca76bacd22
2 changed files with 244 additions and 21 deletions

View File

@@ -404,9 +404,8 @@ namespace Ryujinx.HLE.Debugger.Gdb
string command = Helpers.FromHex(hexCommand);
Logger.Debug?.Print(LogClass.GdbStub, $"Received Rcmd: {command}");
Func<Debugger, string> rcmd = Debugger.FindRcmdDelegate(command);
Processor.ReplyHex(rcmd(Debugger));
string response = Debugger.CallRcmdDelegate(Debugger, command);
Processor.ReplyHex(response);
}
catch (Exception e)
{