Debugger: Call CLI debugger system init

This commit is contained in:
Vicki Pfau 2021-03-16 00:34:18 -07:00
parent f600c7c317
commit 5cd21c6798
2 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,7 @@ Other fixes:
- Debugger: Don't skip undefined instructions when debugger attached
- Debugger: Close trace log when done tracing
- Debugger: Fix change watchpoints (fixes mgba.io/i/1947)
- Debugger: Call CLI debugger system init
- FFmpeg: Fix some small memory leaks
- FFmpeg: Fix encoding of time base
- GB: Fix crash when changing ROM while in banked address space

View File

@ -1078,6 +1078,9 @@ static void _cliDebuggerInit(struct mDebugger* debugger) {
cliDebugger->traceRemaining = 0;
cliDebugger->traceVf = NULL;
cliDebugger->backend->init(cliDebugger->backend);
if (cliDebugger->system && cliDebugger->system->init) {
cliDebugger->system->init(cliDebugger->system);
}
}
static void _cliDebuggerDeinit(struct mDebugger* debugger) {