gdb: Cleanup

Remove unused function and fix a bug.
This commit is contained in:
Coxxs 2025-10-16 19:53:51 -05:00 committed by KeatonTheBot
parent e489e0d19f
commit a2c494e216
4 changed files with 11 additions and 33 deletions

View file

@ -310,7 +310,7 @@ namespace Ryujinx.HLE.Debugger.Gdb
switch (type)
{
case "0": // Software breakpoint
if (!Commands.Debugger.BreakpointManager.SetBreakPoint(addr, len, false))
if (!Commands.Debugger.BreakpointManager.SetBreakPoint(addr, len))
{
Commands.ReplyError();
return;
@ -325,7 +325,7 @@ namespace Ryujinx.HLE.Debugger.Gdb
Commands.ReplyError();
return;
default:
Commands. ReplyError();
Commands.ReplyError();
return;
}
}