mirror of https://github.com/mgba-emu/mgba.git
Debugger: Fix tracing skipping instructions (fixes #1614)
This commit is contained in:
parent
7b08a3ebfd
commit
a566c9ab66
1
CHANGES
1
CHANGES
|
@ -99,6 +99,7 @@ Other fixes:
|
||||||
- 3DS: Fix screen darkening (fixes mgba.io/i/1562)
|
- 3DS: Fix screen darkening (fixes mgba.io/i/1562)
|
||||||
- Core: Fix uninitialized memory issues with graphics caches
|
- Core: Fix uninitialized memory issues with graphics caches
|
||||||
- Core: Return null for out of bounds cached tile VRAM querying
|
- 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)
|
- 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 fast forward mute being reset (fixes mgba.io/i/1574)
|
||||||
- Qt: Fix scrollbar arrows in memory view (fixes mgba.io/i/1558)
|
- Qt: Fix scrollbar arrows in memory view (fixes mgba.io/i/1558)
|
||||||
|
|
|
@ -709,7 +709,6 @@ static void _trace(struct CLIDebugger* debugger, struct CLIDebugVector* dv) {
|
||||||
static bool _doTrace(struct CLIDebugger* debugger) {
|
static bool _doTrace(struct CLIDebugger* debugger) {
|
||||||
char trace[1024];
|
char trace[1024];
|
||||||
trace[sizeof(trace) - 1] = '\0';
|
trace[sizeof(trace) - 1] = '\0';
|
||||||
debugger->d.core->step(debugger->d.core);
|
|
||||||
size_t traceSize = sizeof(trace) - 2;
|
size_t traceSize = sizeof(trace) - 2;
|
||||||
debugger->d.platform->trace(debugger->d.platform, trace, &traceSize);
|
debugger->d.platform->trace(debugger->d.platform, trace, &traceSize);
|
||||||
if (traceSize + 1 <= sizeof(trace)) {
|
if (traceSize + 1 <= sizeof(trace)) {
|
||||||
|
|
Loading…
Reference in New Issue