diff options
| author | 2017-05-07 14:36:20 -0700 | |
|---|---|---|
| committer | 2017-05-07 15:29:36 -0700 | |
| commit | 47e806b084e7eaf44f441c84720d1ca36e12595b (patch) | |
| tree | 423017fad2c89386998285c940b0290515087015 /src/citra_qt/main.cpp | |
| parent | Merge pull request #2682 from nicoboss/filter (diff) | |
| download | yuzu-47e806b084e7eaf44f441c84720d1ca36e12595b.tar.gz yuzu-47e806b084e7eaf44f441c84720d1ca36e12595b.tar.xz yuzu-47e806b084e7eaf44f441c84720d1ca36e12595b.zip | |
citra-qt: Remove disassembler widget
It has performance problems, a very misleading UI, and is broken in
general. It has essentially been superceded by the GDB stub, but if we
wanted a built-in disassembler in the future it'd essentially need to be
rewritten from scratch anyway.
Closes #427, #1480
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index ea66cc425..50149bcb0 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include "citra_qt/configuration/config.h" | 17 | #include "citra_qt/configuration/config.h" |
| 18 | #include "citra_qt/configuration/configure_dialog.h" | 18 | #include "citra_qt/configuration/configure_dialog.h" |
| 19 | #include "citra_qt/debugger/callstack.h" | 19 | #include "citra_qt/debugger/callstack.h" |
| 20 | #include "citra_qt/debugger/disassembler.h" | ||
| 21 | #include "citra_qt/debugger/graphics/graphics.h" | 20 | #include "citra_qt/debugger/graphics/graphics.h" |
| 22 | #include "citra_qt/debugger/graphics/graphics_breakpoints.h" | 21 | #include "citra_qt/debugger/graphics/graphics_breakpoints.h" |
| 23 | #include "citra_qt/debugger/graphics/graphics_cmdlists.h" | 22 | #include "citra_qt/debugger/graphics/graphics_cmdlists.h" |
| @@ -130,15 +129,6 @@ void GMainWindow::InitializeDebugWidgets() { | |||
| 130 | debug_menu->addAction(microProfileDialog->toggleViewAction()); | 129 | debug_menu->addAction(microProfileDialog->toggleViewAction()); |
| 131 | #endif | 130 | #endif |
| 132 | 131 | ||
| 133 | disasmWidget = new DisassemblerWidget(this, emu_thread.get()); | ||
| 134 | addDockWidget(Qt::BottomDockWidgetArea, disasmWidget); | ||
| 135 | disasmWidget->hide(); | ||
| 136 | debug_menu->addAction(disasmWidget->toggleViewAction()); | ||
| 137 | connect(this, &GMainWindow::EmulationStarting, disasmWidget, | ||
| 138 | &DisassemblerWidget::OnEmulationStarting); | ||
| 139 | connect(this, &GMainWindow::EmulationStopping, disasmWidget, | ||
| 140 | &DisassemblerWidget::OnEmulationStopping); | ||
| 141 | |||
| 142 | registersWidget = new RegistersWidget(this); | 132 | registersWidget = new RegistersWidget(this); |
| 143 | addDockWidget(Qt::RightDockWidgetArea, registersWidget); | 133 | addDockWidget(Qt::RightDockWidgetArea, registersWidget); |
| 144 | registersWidget->hide(); | 134 | registersWidget->hide(); |
| @@ -391,16 +381,12 @@ void GMainWindow::BootGame(const QString& filename) { | |||
| 391 | connect(render_window, SIGNAL(Closed()), this, SLOT(OnStopGame())); | 381 | connect(render_window, SIGNAL(Closed()), this, SLOT(OnStopGame())); |
| 392 | // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views | 382 | // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views |
| 393 | // before the CPU continues | 383 | // before the CPU continues |
| 394 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), disasmWidget, SLOT(OnDebugModeEntered()), | ||
| 395 | Qt::BlockingQueuedConnection); | ||
| 396 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), registersWidget, | 384 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), registersWidget, |
| 397 | SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); | 385 | SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); |
| 398 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), callstackWidget, | 386 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), callstackWidget, |
| 399 | SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); | 387 | SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); |
| 400 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), waitTreeWidget, | 388 | connect(emu_thread.get(), SIGNAL(DebugModeEntered()), waitTreeWidget, |
| 401 | SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); | 389 | SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection); |
| 402 | connect(emu_thread.get(), SIGNAL(DebugModeLeft()), disasmWidget, SLOT(OnDebugModeLeft()), | ||
| 403 | Qt::BlockingQueuedConnection); | ||
| 404 | connect(emu_thread.get(), SIGNAL(DebugModeLeft()), registersWidget, SLOT(OnDebugModeLeft()), | 390 | connect(emu_thread.get(), SIGNAL(DebugModeLeft()), registersWidget, SLOT(OnDebugModeLeft()), |
| 405 | Qt::BlockingQueuedConnection); | 391 | Qt::BlockingQueuedConnection); |
| 406 | connect(emu_thread.get(), SIGNAL(DebugModeLeft()), callstackWidget, SLOT(OnDebugModeLeft()), | 392 | connect(emu_thread.get(), SIGNAL(DebugModeLeft()), callstackWidget, SLOT(OnDebugModeLeft()), |