summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-05-17 22:38:10 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:49 +0200
commit87e98ff97be94edf8d4c50a9cf232a008213a928 (patch)
tree147076e1bf12fc83817600b405206d3f722ab215 /src/citra_qt/main.cpp
parentAdd initial graphics debugger interface. (diff)
downloadyuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.tar
yuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.tar.gz
yuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.tar.bz2
yuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.tar.lz
yuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.tar.xz
yuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.tar.zst
yuzu-87e98ff97be94edf8d4c50a9cf232a008213a928.zip
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 9be982909..79367c3ed 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -19,6 +19,7 @@
#include "debugger/registers.hxx"
#include "debugger/callstack.hxx"
#include "debugger/ramview.hxx"
+#include "debugger/graphics.hxx"
#include "core/system.h"
#include "core/loader.h"
@@ -47,10 +48,15 @@ GMainWindow::GMainWindow()
addDockWidget(Qt::RightDockWidgetArea, callstackWidget);
callstackWidget->hide();
+ graphicsWidget = new GPUCommandStreamWidget(this);
+ addDockWidget(Qt::RightDockWidgetArea, graphicsWidget);
+ callstackWidget->hide();
+
QMenu* debug_menu = ui.menu_View->addMenu(tr("Debugging"));
debug_menu->addAction(disasmWidget->toggleViewAction());
debug_menu->addAction(registersWidget->toggleViewAction());
debug_menu->addAction(callstackWidget->toggleViewAction());
+ debug_menu->addAction(graphicsWidget->toggleViewAction());
// Set default UI state
// geometry: 55% of the window contents are in the upper screen half, 45% in the lower half