VERY experimental Nintendo Switch 2 emulator
C++
gdbstub: fix register pokes
Liam2e78c2fdb95b
diff --git a/src/core/debugger/gdbstub.cpp b/src/core/debugger/gdbstub.cppindex f5e9a303dd..884229c77a 100644--- a/src/core/debugger/gdbstub.cpp+++ b/src/core/debugger/gdbstub.cpp@@ -252,6 +252,7 @@ void GDBStub::ExecuteCommand(std::string_view packet, std::vector<DebuggerActionconst auto sep{std::find(command.begin(), command.end(), '=') - command.begin() + 1};const size_t reg{static_cast<size_t>(strtoll(command.data(), nullptr, 16))};arch->RegWrite(backend.GetActiveThread(), reg, std::string_view(command).substr(sep));+ SendReply(GDB_STUB_REPLY_OK);break;}case 'm': {