Qt: Ensure CLI backend is attached when submitting commands (fixes #662)

This commit is contained in:
Vicki Pfau 2017-04-21 16:21:50 -07:00
parent 8b805b3909
commit 01832ec513
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ Bugfixes:
- GBA BIOS: Fix ArcTan sign in HLE BIOS - GBA BIOS: Fix ArcTan sign in HLE BIOS
- GBA BIOS: Fix ArcTan2 sign in HLE BIOS (fixes mgba.io/i/689) - GBA BIOS: Fix ArcTan2 sign in HLE BIOS (fixes mgba.io/i/689)
- GBA Video: Don't update background scanline params in mode 0 (fixes mgba.io/i/377) - GBA Video: Don't update background scanline params in mode 0 (fixes mgba.io/i/377)
- Qt: Ensure CLI backend is attached when submitting commands (fixes mgba.io/i/662)
Misc: Misc:
- SDL: Remove scancode key input - SDL: Remove scancode key input
- GBA Video: Clean up unused timers - GBA Video: Clean up unused timers

View File

@ -40,6 +40,7 @@ void DebuggerConsoleController::enterLine(const QString& line) {
void DebuggerConsoleController::attachInternal() { void DebuggerConsoleController::attachInternal() {
mCore* core = m_gameController->thread()->core; mCore* core = m_gameController->thread()->core;
CLIDebuggerAttachBackend(&m_cliDebugger, &m_backend.d);
CLIDebuggerAttachSystem(&m_cliDebugger, core->cliDebuggerSystem(core)); CLIDebuggerAttachSystem(&m_cliDebugger, core->cliDebuggerSystem(core));
} }