diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-01-27 21:31:43 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-01-27 21:31:43 +0100 |
commit | f300a1d54be6b61f3f8667f1578bf42361f210dc (patch) | |
tree | 7e4af4bcb376b01e344e2347b4da3de42991e205 /src/video_core | |
parent | Merge pull request #7783 from lioncash/abi-cexpr (diff) | |
download | yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.tar yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.tar.gz yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.tar.bz2 yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.tar.lz yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.tar.xz yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.tar.zst yuzu-f300a1d54be6b61f3f8667f1578bf42361f210dc.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index 43bed63ac..048dba4f3 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h @@ -1474,6 +1474,8 @@ typename BufferCache<P>::OverlapResult BufferCache<P>::ResolveOverlaps(VAddr cpu // When this memory region has been joined a bunch of times, we assume it's being used // as a stream buffer. Increase the size to skip constantly recreating buffers. has_stream_leap = true; + begin -= PAGE_SIZE * 256; + cpu_addr = begin; end += PAGE_SIZE * 256; } } |