mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Revert another change
This commit is contained in:
parent
bb9ae18c71
commit
2b3ae8b638
1 changed files with 2 additions and 2 deletions
|
@ -887,9 +887,9 @@ namespace vm
|
||||||
// Notify rsx to invalidate range
|
// Notify rsx to invalidate range
|
||||||
// Note: This must be done *before* memory gets unmapped while holding the vm lock, otherwise
|
// Note: This must be done *before* memory gets unmapped while holding the vm lock, otherwise
|
||||||
// the RSX might try to call VirtualProtect on memory that is already unmapped
|
// the RSX might try to call VirtualProtect on memory that is already unmapped
|
||||||
if (auto& rsxthr = g_fxo->get<rsx::thread>(); !Emu.IsPaused() && g_fxo->is_init<rsx::thread>())
|
if (auto rsxthr = g_fxo->try_get<rsx::thread>())
|
||||||
{
|
{
|
||||||
rsxthr.on_notify_memory_unmapped(addr, size);
|
rsxthr->on_notify_memory_unmapped(addr, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deregister PPU related data
|
// Deregister PPU related data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue