VERY experimental Nintendo Switch 2 emulator
C++
Fixed invalid iterator usage
Andrew Strelskya24aa6e5bd5e
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cppindex 6661244cfb..b44a44949a 100644--- a/src/common/host_memory.cpp+++ b/src/common/host_memory.cpp@@ -314,8 +314,8 @@ private:}void UntrackPlaceholder(boost::icl::separate_interval_set<size_t>::iterator it) {- placeholders.erase(it);placeholder_host_pointers.erase(it->lower());+ placeholders.erase(it);}/// Return true when a given memory region is a "nieche" and the placeholders don't have to be