mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 04:25:19 +00:00
Improve vm::unmap
Prevent unmapping predefined locations
This commit is contained in:
parent
7cf82d2511
commit
182c04b59d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue