summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar tfarley2015-05-18 21:21:33 -0700
committerGravatar tfarley2015-05-22 15:51:18 -0700
commit05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2 (patch)
treed080c1efd3b928bda551cb9eee304547e66a4351 /src/video_core/debug_utils
parentINI hw/sw renderer toggle (diff)
downloadyuzu-05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2.tar.gz
yuzu-05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2.tar.xz
yuzu-05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2.zip
OpenGL renderer
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 883df48a5..9da44ccd6 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -24,6 +24,7 @@
24#include "video_core/math.h" 24#include "video_core/math.h"
25#include "video_core/pica.h" 25#include "video_core/pica.h"
26#include "video_core/utils.h" 26#include "video_core/utils.h"
27#include "video_core/video_core.h"
27 28
28#include "debug_utils.h" 29#include "debug_utils.h"
29 30
@@ -40,6 +41,9 @@ void DebugContext::OnEvent(Event event, void* data) {
40 { 41 {
41 std::unique_lock<std::mutex> lock(breakpoint_mutex); 42 std::unique_lock<std::mutex> lock(breakpoint_mutex);
42 43
44 // Commit the hardware renderer's framebuffer so it will show on debug widgets
45 VideoCore::g_renderer->hw_rasterizer->CommitFramebuffer();
46
43 // TODO: Should stop the CPU thread here once we multithread emulation. 47 // TODO: Should stop the CPU thread here once we multithread emulation.
44 48
45 active_breakpoint = event; 49 active_breakpoint = event;