diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-10-26 16:38:40 +0100 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-09 16:37:34 +0100 |
commit | 55ce9aca7149159d6ec444047355e47d70c13c3f (patch) | |
tree | 45ad880c887cfc560081605ffa11059c09667727 /src/citra_qt/main.cpp | |
parent | citra_qt: Add enhanced texture debugging widgets. (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/citra_qt/main.cpp | 6 |
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 |