diff --git a/rpcs3/Emu/Memory/vm.cpp b/rpcs3/Emu/Memory/vm.cpp index 1facefe4c9..b2637436a8 100644 --- a/rpcs3/Emu/Memory/vm.cpp +++ b/rpcs3/Emu/Memory/vm.cpp @@ -801,7 +801,7 @@ namespace vm { vm::writer_lock lock(0); - for (auto it = g_locations.begin(); it != g_locations.end(); it++) + for (auto it = g_locations.begin() + memory_location_max; it != g_locations.end(); it++) { if (*it && (*it)->addr == addr) {