summaryrefslogtreecommitdiff
path: root/src/video_core/query_cache.h
diff options
context:
space:
mode:
authorGravatar Liam2023-03-11 22:10:38 -0500
committerGravatar Liam2023-03-12 11:33:01 -0400
commit600f325d87e42f856da58c42a5280f098ebb6e8c (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/video_core/query_cache.h
parentgeneral: use codespell to identify spelling mistakes (diff)
downloadyuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip
general: fix spelling mistakes
Diffstat (limited to 'src/video_core/query_cache.h')
-rw-r--r--src/video_core/query_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.h
index 00ce53e3e..8906ba6d8 100644
--- a/src/video_core/query_cache.h
+++ b/src/video_core/query_cache.h
@@ -341,7 +341,7 @@ public:
341 341
342 /// Flushes the query to guest memory. 342 /// Flushes the query to guest memory.
343 virtual void Flush() { 343 virtual void Flush() {
344 // When counter is nullptr it means that it's just been reseted. We are supposed to write a 344 // When counter is nullptr it means that it's just been reset. We are supposed to write a
345 // zero in these cases. 345 // zero in these cases.
346 const u64 value = counter ? counter->Query() : 0; 346 const u64 value = counter ? counter->Query() : 0;
347 std::memcpy(host_ptr, &value, sizeof(u64)); 347 std::memcpy(host_ptr, &value, sizeof(u64));