summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-12-15 22:09:48 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-20 18:05:53 +0100
commit782592e6d393f4e38db5db58daba3f7fbf1786b4 (patch)
treedb9535a5130d29d5d66f63548813889039d16386 /src/citra_qt/debugger
parentPica: Initial support for multitexturing. (diff)
downloadyuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.tar
yuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.tar.gz
yuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.tar.bz2
yuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.tar.lz
yuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.tar.xz
yuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.tar.zst
yuzu-782592e6d393f4e38db5db58daba3f7fbf1786b4.zip
Diffstat (limited to 'src/citra_qt/debugger')
-rw-r--r--src/citra_qt/debugger/graphics_framebuffer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp
index 61b61ef6d..c055299a4 100644
--- a/src/citra_qt/debugger/graphics_framebuffer.cpp
+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp
@@ -125,7 +125,8 @@ GraphicsFramebufferWidget::GraphicsFramebufferWidget(std::shared_ptr<Pica::Debug
setWidget(main_widget);
// Load current data - TODO: Make sure this works when emulation is not running
- emit Update();
+ if (debug_context && debug_context->at_breakpoint)
+ emit Update();
widget()->setEnabled(false); // TODO: Only enable if currently at breakpoint
}