diff options
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 4 |
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 883df48a..9da44ccd 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -24,6 +24,7 @@ #include "video_core/math.h" #include "video_core/pica.h" #include "video_core/utils.h" +#include "video_core/video_core.h" #include "debug_utils.h" @@ -40,6 +41,9 @@ void DebugContext::OnEvent(Event event, void* data) { { std::unique_lock<std::mutex> lock(breakpoint_mutex); + // Commit the hardware renderer's framebuffer so it will show on debug widgets + VideoCore::g_renderer->hw_rasterizer->CommitFramebuffer(); + // TODO: Should stop the CPU thread here once we multithread emulation. active_breakpoint = event; |