diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-07 16:41:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 16:41:53 +0100 |
commit | 4f352833a5b94e900ed7afb3b84eeda1bb5fab3d (patch) | |
tree | 48af4d722e551f55a117244f986c11e47e7b27e5 /src/video_core/engines/kepler_memory.cpp | |
parent | Merge pull request #2149 from ReinUsesLisp/decoders-style (diff) | |
parent | gpu_thread: Fix deadlock with threading idle state check. (diff) | |
download | yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.tar yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.tar.gz yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.tar.bz2 yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.tar.lz yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.tar.xz yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.tar.zst yuzu-4f352833a5b94e900ed7afb3b84eeda1bb5fab3d.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(); |