diff options
author | Lioncash <mathew1800@gmail.com> | 2019-11-26 21:56:13 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-11-27 03:55:38 +0100 |
commit | 849581075a230ad0f5419bb5d5e1f9e48e6cfd8a (patch) | |
tree | 62985359329da0b65f65429ea5c403f622aea5e3 /src/video_core | |
parent | core/memory: Migrate over ReadCString() to the Memory class (diff) | |
download | yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.tar yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.tar.gz yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.tar.bz2 yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.tar.lz yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.tar.xz yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.tar.zst yuzu-849581075a230ad0f5419bb5d5e1f9e48e6cfd8a.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/rasterizer_accelerated.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/rasterizer_accelerated.cpp b/src/video_core/rasterizer_accelerated.cpp index f3dbadebc..fc6ecb899 100644 --- a/src/video_core/rasterizer_accelerated.cpp +++ b/src/video_core/rasterizer_accelerated.cpp @@ -48,9 +48,9 @@ void RasterizerAccelerated::UpdatePagesCachedCount(VAddr addr, u64 size, int del const u64 interval_size = interval_end_addr - interval_start_addr; if (delta > 0 && count == delta) { - Memory::RasterizerMarkRegionCached(interval_start_addr, interval_size, true); + cpu_memory.RasterizerMarkRegionCached(interval_start_addr, interval_size, true); } else if (delta < 0 && count == -delta) { - Memory::RasterizerMarkRegionCached(interval_start_addr, interval_size, false); + cpu_memory.RasterizerMarkRegionCached(interval_start_addr, interval_size, false); } else { ASSERT(count >= 0); } |