mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
vm: Fix stack memory release, always reset memory flags
This commit is contained in:
parent
f22348a9f9
commit
53c8ed6a63
@ -805,7 +805,7 @@ namespace vm
|
||||
vm::writer_lock lock(0);
|
||||
|
||||
// Deallocate all memory
|
||||
for (auto it = m_map.begin(), end = m_map.end(); !m_common && it != end;)
|
||||
for (auto it = m_map.begin(), end = m_map.end(); it != end;)
|
||||
{
|
||||
const auto next = std::next(it);
|
||||
const auto size = it->second.first;
|
||||
|
Loading…
Reference in New Issue
Block a user