summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-03-26 20:51:05 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commitdc1a9a3bed2aa9b0851f07976b0c687172aa3edc (patch)
tree8bfc0b3afc76b1b9a6100dfe8fb60b013927932b /src/video_core
parentspirv: Add fixed pipeline point size (diff)
downloadyuzu-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 '')
-rw-r--r--src/video_core/memory_manager.cpp3
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) {