Debugger: Fix tracing skipping instructions (fixes #1614)
Vicki Pfau vi@endrift.com
Wed, 08 Jan 2020 19:58:40 -0800
2 files changed,
1 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -99,6 +99,7 @@ Other fixes:
- 3DS: Fix screen darkening (fixes mgba.io/i/1562) - Core: Fix uninitialized memory issues with graphics caches - Core: Return null for out of bounds cached tile VRAM querying + - Debugger: Fix tracing skipping instructions (fixes mgba.io/i/1614) - OpenGL: Only invalidate texture if dimensions change (fixes mgba.io/i/1612) - Qt: Fix fast forward mute being reset (fixes mgba.io/i/1574) - Qt: Fix scrollbar arrows in memory view (fixes mgba.io/i/1558)
M
src/debugger/cli-debugger.c
→
src/debugger/cli-debugger.c
@@ -709,7 +709,6 @@
static bool _doTrace(struct CLIDebugger* debugger) { char trace[1024]; trace[sizeof(trace) - 1] = '\0'; - debugger->d.core->step(debugger->d.core); size_t traceSize = sizeof(trace) - 2; debugger->d.platform->trace(debugger->d.platform, trace, &traceSize); if (traceSize + 1 <= sizeof(trace)) {