|
@@ -16,7 +16,6 @@
|
|
|
#include "citra_qt/bootmanager.h"
|
|
#include "citra_qt/bootmanager.h"
|
|
|
#include "citra_qt/configuration/config.h"
|
|
#include "citra_qt/configuration/config.h"
|
|
|
#include "citra_qt/configuration/configure_dialog.h"
|
|
#include "citra_qt/configuration/configure_dialog.h"
|
|
|
-#include "citra_qt/debugger/callstack.h"
|
|
|
|
|
#include "citra_qt/debugger/graphics/graphics.h"
|
|
#include "citra_qt/debugger/graphics/graphics.h"
|
|
|
#include "citra_qt/debugger/graphics/graphics_breakpoints.h"
|
|
#include "citra_qt/debugger/graphics/graphics_breakpoints.h"
|
|
|
#include "citra_qt/debugger/graphics/graphics_cmdlists.h"
|
|
#include "citra_qt/debugger/graphics/graphics_cmdlists.h"
|
|
@@ -138,11 +137,6 @@ void GMainWindow::InitializeDebugWidgets() {
|
|
|
connect(this, &GMainWindow::EmulationStopping, registersWidget,
|
|
connect(this, &GMainWindow::EmulationStopping, registersWidget,
|
|
|
&RegistersWidget::OnEmulationStopping);
|
|
&RegistersWidget::OnEmulationStopping);
|
|
|
|
|
|
|
|
- callstackWidget = new CallstackWidget(this);
|
|
|
|
|
- addDockWidget(Qt::RightDockWidgetArea, callstackWidget);
|
|
|
|
|
- callstackWidget->hide();
|
|
|
|
|
- debug_menu->addAction(callstackWidget->toggleViewAction());
|
|
|
|
|
-
|
|
|
|
|
graphicsWidget = new GPUCommandStreamWidget(this);
|
|
graphicsWidget = new GPUCommandStreamWidget(this);
|
|
|
addDockWidget(Qt::RightDockWidgetArea, graphicsWidget);
|
|
addDockWidget(Qt::RightDockWidgetArea, graphicsWidget);
|
|
|
graphicsWidget->hide();
|
|
graphicsWidget->hide();
|
|
@@ -383,20 +377,15 @@ void GMainWindow::BootGame(const QString& filename) {
|
|
|
// before the CPU continues
|
|
// before the CPU continues
|
|
|
connect(emu_thread.get(), SIGNAL(DebugModeEntered()), registersWidget,
|
|
connect(emu_thread.get(), SIGNAL(DebugModeEntered()), registersWidget,
|
|
|
SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection);
|
|
SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection);
|
|
|
- connect(emu_thread.get(), SIGNAL(DebugModeEntered()), callstackWidget,
|
|
|
|
|
- SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection);
|
|
|
|
|
connect(emu_thread.get(), SIGNAL(DebugModeEntered()), waitTreeWidget,
|
|
connect(emu_thread.get(), SIGNAL(DebugModeEntered()), waitTreeWidget,
|
|
|
SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection);
|
|
SLOT(OnDebugModeEntered()), Qt::BlockingQueuedConnection);
|
|
|
connect(emu_thread.get(), SIGNAL(DebugModeLeft()), registersWidget, SLOT(OnDebugModeLeft()),
|
|
connect(emu_thread.get(), SIGNAL(DebugModeLeft()), registersWidget, SLOT(OnDebugModeLeft()),
|
|
|
Qt::BlockingQueuedConnection);
|
|
Qt::BlockingQueuedConnection);
|
|
|
- connect(emu_thread.get(), SIGNAL(DebugModeLeft()), callstackWidget, SLOT(OnDebugModeLeft()),
|
|
|
|
|
- Qt::BlockingQueuedConnection);
|
|
|
|
|
connect(emu_thread.get(), SIGNAL(DebugModeLeft()), waitTreeWidget, SLOT(OnDebugModeLeft()),
|
|
connect(emu_thread.get(), SIGNAL(DebugModeLeft()), waitTreeWidget, SLOT(OnDebugModeLeft()),
|
|
|
Qt::BlockingQueuedConnection);
|
|
Qt::BlockingQueuedConnection);
|
|
|
|
|
|
|
|
// Update the GUI
|
|
// Update the GUI
|
|
|
registersWidget->OnDebugModeEntered();
|
|
registersWidget->OnDebugModeEntered();
|
|
|
- callstackWidget->OnDebugModeEntered();
|
|
|
|
|
if (ui.action_Single_Window_Mode->isChecked()) {
|
|
if (ui.action_Single_Window_Mode->isChecked()) {
|
|
|
game_list->hide();
|
|
game_list->hide();
|
|
|
}
|
|
}
|