diff options
| author | 2021-11-16 00:01:40 +0100 | |
|---|---|---|
| committer | 2022-10-06 21:00:52 +0200 | |
| commit | 6fc4012396e98a1a6ac455791b314d2280a12a51 (patch) | |
| tree | e033b398a8cf99f3bd5f9810970872ee40a35a82 /src/video_core/texture_cache | |
| parent | NVDRV: Remake ASGPU (diff) | |
| download | yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.gz yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.xz yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.zip | |
VideoCore: Extra Fixes.
Diffstat (limited to 'src/video_core/texture_cache')
| -rw-r--r-- | src/video_core/texture_cache/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp index 1820823b2..bea1c27d0 100644 --- a/src/video_core/texture_cache/util.cpp +++ b/src/video_core/texture_cache/util.cpp | |||
| @@ -755,7 +755,7 @@ bool IsValidEntry(const Tegra::MemoryManager& gpu_memory, const TICEntry& config | |||
| 755 | if (address == 0) { | 755 | if (address == 0) { |
| 756 | return false; | 756 | return false; |
| 757 | } | 757 | } |
| 758 | if (address > (1ULL << 48)) { | 758 | if (address >= (1ULL << 40)) { |
| 759 | return false; | 759 | return false; |
| 760 | } | 760 | } |
| 761 | if (gpu_memory.GpuToCpuAddress(address).has_value()) { | 761 | if (gpu_memory.GpuToCpuAddress(address).has_value()) { |