diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-03-30 08:41:21 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | 4d0d29fc2092bf02e102b8bac9cfa1b509274901 (patch) | |
tree | 97fbee1b64a0e5d8189cac30e8dd0a1a72a8ec4a /src/video_core | |
parent | shader: Always pass a lod for TexelFetch (diff) | |
download | yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.tar yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.tar.gz yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.tar.bz2 yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.tar.lz yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.tar.xz yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.tar.zst yuzu-4d0d29fc2092bf02e102b8bac9cfa1b509274901.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/memory_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp index 05e27c687..882eff880 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp @@ -64,7 +64,7 @@ void MemoryManager::Unmap(GPUVAddr gpu_addr, std::size_t size) { } const auto it = std::ranges::lower_bound(map_ranges, gpu_addr, {}, &MapRange::first); if (it != map_ranges.end()) { - // ASSERT(it->first == gpu_addr); + ASSERT(it->first == gpu_addr); map_ranges.erase(it); } else { UNREACHABLE_MSG("Unmapping non-existent GPU address=0x{:x}", gpu_addr); |