summaryrefslogtreecommitdiff
path: root/src/video_core/query_cache.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-03-12 21:59:46 -0400
committerGravatar GitHub2023-03-12 21:59:46 -0400
commit54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/video_core/query_cache.h
parentMerge pull request #9913 from ameerj/acc-dma-refactor (diff)
parentgeneral: fix spelling mistakes (diff)
downloadyuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.gz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.xz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.zip
Merge pull request #9942 from liamwhite/speling
general: use codespell to identify 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));