diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-15 07:01:24 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-15 07:06:40 +0100 |
commit | 945f554b849360405639efb6598afa2f18de64c2 (patch) | |
tree | 4d534fd50d1094d3d3c8655cb2aa9afe9789b430 /src/video_core/debug_utils/debug_utils.h | |
parent | Merge pull request #2317 from yuriks/vertex-copy (diff) | |
download | yuzu-945f554b849360405639efb6598afa2f18de64c2.tar yuzu-945f554b849360405639efb6598afa2f18de64c2.tar.gz yuzu-945f554b849360405639efb6598afa2f18de64c2.tar.bz2 yuzu-945f554b849360405639efb6598afa2f18de64c2.tar.lz yuzu-945f554b849360405639efb6598afa2f18de64c2.tar.xz yuzu-945f554b849360405639efb6598afa2f18de64c2.tar.zst yuzu-945f554b849360405639efb6598afa2f18de64c2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 189c93abb..46ea8d9c7 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h @@ -196,8 +196,12 @@ struct PicaTrace { std::vector<Write> writes; }; +extern bool g_is_pica_tracing; + void StartPicaTracing(); -bool IsPicaTracing(); +inline bool IsPicaTracing() { + return g_is_pica_tracing; +} void OnPicaRegWrite(PicaTrace::Write write); std::unique_ptr<PicaTrace> FinishPicaTracing(); |