mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 20:44:28 +00:00
Revert VirtualQuery while loop
Windows wasn't happy with this, again. Will try to debug and properly fix this when I have a good chance.
This commit is contained in:
parent
b38867d085
commit
3525109e03
@ -607,7 +607,7 @@ int MemoryManager::VirtualQuery(VAddr addr, int flags,
|
||||
}
|
||||
auto it = FindVMA(query_addr);
|
||||
|
||||
while (it->second.type == VMAType::Free && flags == 1 && it != vma_map.end()) {
|
||||
if (it->second.type == VMAType::Free && flags == 1) {
|
||||
++it;
|
||||
}
|
||||
if (it->second.type == VMAType::Free) {
|
||||
|
Loading…
Reference in New Issue
Block a user