summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils/debug_utils.cpp
diff options
context:
space:
mode:
authorLectem <lectem@gmail.com>2015-07-25 22:00:40 +0200
committerLectem <lectem@gmail.com>2015-07-26 16:23:12 +0200
commite663751f8b6cc6fd469d3974b3e68e434ebee9db (patch)
treec48b19af6f1e95671839cf4b6153c5e155b3494c /src/video_core/debug_utils/debug_utils.cpp
parentcitra-qt/command list: monospace font on windows (diff)
downloadyuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.tar
yuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.tar.gz
yuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.tar.bz2
yuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.tar.lz
yuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.tar.xz
yuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.tar.zst
yuzu-e663751f8b6cc6fd469d3974b3e68e434ebee9db.zip
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index c3f8321c6..827b09dff 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -280,7 +280,7 @@ bool IsPicaTracing()
return is_pica_tracing != 0;
}
-void OnPicaRegWrite(u32 id, u32 value)
+void OnPicaRegWrite(PicaTrace::Write write)
{
// Double check for is_pica_tracing to avoid pointless locking overhead
if (!is_pica_tracing)
@@ -291,7 +291,7 @@ void OnPicaRegWrite(u32 id, u32 value)
if (!is_pica_tracing)
return;
- pica_trace->writes.emplace_back(id, value);
+ pica_trace->writes.push_back(write);
}
std::unique_ptr<PicaTrace> FinishPicaTracing()