diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-06-28 19:32:50 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-06-28 21:32:45 +0200 |
commit | da440da9f54cc860f3c69da685a415d5ec9d7b64 (patch) | |
tree | 5a7a4a56462244970e1356a723e6a8a77477f820 /src/video_core/rasterizer_interface.h | |
parent | MemoryTracking: Initial setup of atomic writes. (diff) | |
download | yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.tar yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.tar.gz yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.tar.bz2 yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.tar.lz yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.tar.xz yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.tar.zst yuzu-da440da9f54cc860f3c69da685a415d5ec9d7b64.zip |
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 4 |
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; |