diff --git a/src/gba/remote.cpp b/src/gba/remote.cpp index 5679ac00..5c5a43b0 100644 --- a/src/gba/remote.cpp +++ b/src/gba/remote.cpp @@ -3700,17 +3700,24 @@ void remoteMemoryRead(char* p) void remoteQuery(char* p) { if (!strncmp(p, "fThreadInfo", 11)) { - remotePutPacket("m-1"); + remotePutPacket("m1"); } else if (!strncmp(p, "sThreadInfo", 11)) { remotePutPacket("l"); } else if (!strncmp(p, "Supported", 9)) { remotePutPacket("PacketSize=1000"); + } else if (!strncmp(p, "C", 1)) { + remotePutPacket("QC1"); + } else if (!strncmp(p, "Attached", 8)) { + remotePutPacket("1"); + } else if (!strncmp(p, "Symbol", 6)) { + remotePutPacket("OK"); } else if (!strncmp(p, "Rcmd,", 5)) { p += 5; std::string cmd = HexToString(p); dbgExecute(cmd); remotePutPacket("OK"); } else { + fprintf(stderr, "Unknown packet %s\n", --p); remotePutPacket(""); } }