summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-07-02 17:29:01 +0200
committerGitHub <noreply@github.com>2023-07-02 17:29:01 +0200
commiteaa62aee988454f9cbd58219aa4d82d7e152c61d (patch)
tree8fa1e87467e9e37fce6ca159d8bb99d2ab907628 /src/video_core/rasterizer_interface.h
parentMerge pull request #10710 from liamwhite/romfs2 (diff)
parentMemory Tracker: Use 64 bit atomics instead of 128 bits (diff)
downloadyuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar
yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.gz
yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.bz2
yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.lz
yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.xz
yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.zst
yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.zip
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 7566a8c4e..cb8029a4f 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -109,7 +109,9 @@ public:
}
/// Notify rasterizer that any caches of the specified region are desync with guest
- virtual void OnCPUWrite(VAddr addr, u64 size) = 0;
+ virtual void OnCacheInvalidation(VAddr addr, u64 size) = 0;
+
+ virtual bool OnCPUWrite(VAddr addr, u64 size) = 0;
/// Sync memory between guest and host.
virtual void InvalidateGPUCache() = 0;