diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-24 04:17:55 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-03-07 03:48:57 +0100 |
commit | 7b574f406b25c02a0e0efd8b7ec13d68ecb55497 (patch) | |
tree | 375d4637d49ffe506129ce9cb679b5902328106a /src/video_core/engines/kepler_memory.cpp | |
parent | bootmanager: Ensure that we have a context for shader loading. (diff) | |
download | yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.gz yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.bz2 yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.lz yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.xz yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.tar.zst yuzu-7b574f406b25c02a0e0efd8b7ec13d68ecb55497.zip |
Diffstat (limited to 'src/video_core/engines/kepler_memory.cpp')
-rw-r--r-- | src/video_core/engines/kepler_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/kepler_memory.cpp b/src/video_core/engines/kepler_memory.cpp index 4f6126116..aae2a4019 100644 --- a/src/video_core/engines/kepler_memory.cpp +++ b/src/video_core/engines/kepler_memory.cpp @@ -48,7 +48,7 @@ void KeplerMemory::ProcessData(u32 data) { // We have to invalidate the destination region to evict any outdated surfaces from the cache. // We do this before actually writing the new data because the destination address might contain // a dirty surface that will have to be written back to memory. - rasterizer.InvalidateRegion(*dest_address, sizeof(u32)); + Core::System::GetInstance().GPU().InvalidateRegion(*dest_address, sizeof(u32)); Memory::Write32(*dest_address, data); system.GPU().Maxwell3D().dirty_flags.OnMemoryWrite(); |