diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-03-26 20:51:05 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | dc1a9a3bed2aa9b0851f07976b0c687172aa3edc (patch) | |
tree | 8bfc0b3afc76b1b9a6100dfe8fb60b013927932b /src/video_core | |
parent | spirv: Add fixed pipeline point size (diff) | |
download | yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.gz yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.bz2 yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.lz yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.xz yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.zst yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/memory_manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp index d2b9d5f2b..05e27c687 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp @@ -64,12 +64,11 @@ 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); } - const auto submapped_ranges = GetSubmappedRange(gpu_addr, size); for (const auto& map : submapped_ranges) { |