diff options
| author | 2015-05-21 02:12:59 +0200 | |
|---|---|---|
| committer | 2015-07-13 22:27:21 +0200 | |
| commit | 01a526e1c449f86bbb626dd83f3f6cf94c2d86d4 (patch) | |
| tree | a641344e90c78e537ed46c306b76d1adb82a863f /src/citra_qt/debugger/graphics_tracing.h | |
| parent | Add CiTrace recording support. (diff) | |
| download | yuzu-01a526e1c449f86bbb626dd83f3f6cf94c2d86d4.tar.gz yuzu-01a526e1c449f86bbb626dd83f3f6cf94c2d86d4.tar.xz yuzu-01a526e1c449f86bbb626dd83f3f6cf94c2d86d4.zip | |
citra-qt: Properly disable the CiTrace widget upon starting/stopping emulation.
Diffstat (limited to 'src/citra_qt/debugger/graphics_tracing.h')
| -rw-r--r-- | src/citra_qt/debugger/graphics_tracing.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/graphics_tracing.h b/src/citra_qt/debugger/graphics_tracing.h index 397a7173b..2a0e4819b 100644 --- a/src/citra_qt/debugger/graphics_tracing.h +++ b/src/citra_qt/debugger/graphics_tracing.h | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | 6 | ||
| 7 | #include "graphics_breakpoint_observer.h" | 7 | #include "graphics_breakpoint_observer.h" |
| 8 | 8 | ||
| 9 | class EmuThread; | ||
| 10 | |||
| 9 | class GraphicsTracingWidget : public BreakPointObserverDock { | 11 | class GraphicsTracingWidget : public BreakPointObserverDock { |
| 10 | Q_OBJECT | 12 | Q_OBJECT |
| 11 | 13 | ||
| @@ -20,6 +22,9 @@ private slots: | |||
| 20 | void OnBreakPointHit(Pica::DebugContext::Event event, void* data) override; | 22 | void OnBreakPointHit(Pica::DebugContext::Event event, void* data) override; |
| 21 | void OnResumed() override; | 23 | void OnResumed() override; |
| 22 | 24 | ||
| 25 | void OnEmulationStarting(EmuThread* emu_thread); | ||
| 26 | void OnEmulationStopping(); | ||
| 27 | |||
| 23 | signals: | 28 | signals: |
| 24 | void SetStartTracingButtonEnabled(bool enable); | 29 | void SetStartTracingButtonEnabled(bool enable); |
| 25 | void SetStopTracingButtonEnabled(bool enable); | 30 | void SetStopTracingButtonEnabled(bool enable); |