summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-10-26 16:38:40 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commit55ce9aca7149159d6ec444047355e47d70c13c3f (patch)
tree45ad880c887cfc560081605ffa11059c09667727 /src/citra_qt/main.cpp
parentcitra_qt: Add enhanced texture debugging widgets. (diff)
downloadyuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.tar
yuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.tar.gz
yuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.tar.bz2
yuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.tar.lz
yuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.tar.xz
yuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.tar.zst
yuzu-55ce9aca7149159d6ec444047355e47d70c13c3f.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 84afe59d8..b4e3ad964 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -22,6 +22,7 @@
#include "debugger/graphics.hxx"
#include "debugger/graphics_breakpoints.hxx"
#include "debugger/graphics_cmdlists.hxx"
+#include "debugger/graphics_framebuffer.hxx"
#include "core/settings.h"
#include "core/system.h"
@@ -74,6 +75,10 @@ GMainWindow::GMainWindow()
addDockWidget(Qt::RightDockWidgetArea, graphicsBreakpointsWidget);
graphicsBreakpointsWidget->hide();
+ auto graphicsFramebufferWidget = new GraphicsFramebufferWidget(Pica::g_debug_context, this);
+ addDockWidget(Qt::RightDockWidgetArea, graphicsFramebufferWidget);
+ graphicsFramebufferWidget->hide();
+
QMenu* debug_menu = ui.menu_View->addMenu(tr("Debugging"));
debug_menu->addAction(disasmWidget->toggleViewAction());
debug_menu->addAction(registersWidget->toggleViewAction());
@@ -81,6 +86,7 @@ GMainWindow::GMainWindow()
debug_menu->addAction(graphicsWidget->toggleViewAction());
debug_menu->addAction(graphicsCommandsWidget->toggleViewAction());
debug_menu->addAction(graphicsBreakpointsWidget->toggleViewAction());
+ debug_menu->addAction(graphicsFramebufferWidget->toggleViewAction());
// Set default UI state
// geometry: 55% of the window contents are in the upper screen half, 45% in the lower half