From a80209e9b9ffe360ad5c96c1d1a9a8448e58680e Mon Sep 17 00:00:00 2001 From: Martin Sundhaug Date: Sat, 3 Sep 2016 22:39:55 +0200 Subject: [PATCH] Fix: Typo in GDB implementation --- src/gba/remote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/remote.cpp b/src/gba/remote.cpp index 264edc92..62595a33 100644 --- a/src/gba/remote.cpp +++ b/src/gba/remote.cpp @@ -3613,7 +3613,7 @@ void remoteSendStatus() s += 12; CPUUpdateCPSR(); v = reg[16].I; - sprintf(s, "19:%02x%02x%02x%02x;", (v & 255), + sprintf(s, "10:%02x%02x%02x%02x;", (v & 255), (v >> 8) & 255, (v >> 16) & 255, (v >> 24) & 255);