diff options
| author | 2015-04-04 12:57:31 +0200 | |
|---|---|---|
| committer | 2015-07-13 22:27:20 +0200 | |
| commit | 902fa4da52737d43e04c2a028658ad9840811a89 (patch) | |
| tree | 0a2346b4e08b5865c3369247f5720453b170e0c6 /src/video_core/debug_utils | |
| parent | GPU: Be robust against nullptr addresses; properly reset busy bits in the tri... (diff) | |
| download | yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.gz yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.xz yuzu-902fa4da52737d43e04c2a028658ad9840811a89.zip | |
Add CiTrace recording support.
This is exposed in the GUI as a new "CiTrace Recording" widget.
Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 7926d64ec..2573292e2 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | #include "common/vector_math.h" | 15 | #include "common/vector_math.h" |
| 16 | 16 | ||
| 17 | #include "core/tracer/recorder.h" | ||
| 18 | |||
| 17 | #include "video_core/pica.h" | 19 | #include "video_core/pica.h" |
| 18 | 20 | ||
| 19 | namespace Pica { | 21 | namespace Pica { |
| @@ -129,6 +131,8 @@ public: | |||
| 129 | Event active_breakpoint; | 131 | Event active_breakpoint; |
| 130 | bool at_breakpoint = false; | 132 | bool at_breakpoint = false; |
| 131 | 133 | ||
| 134 | std::shared_ptr<CiTrace::Recorder> recorder = nullptr; | ||
| 135 | |||
| 132 | private: | 136 | private: |
| 133 | /** | 137 | /** |
| 134 | * Private default constructor to make sure people always construct this through Construct() | 138 | * Private default constructor to make sure people always construct this through Construct() |