mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-05 15:40:10 +00:00
rsx: Flush MM queue before memory is unmapped
This commit is contained in:
parent
b16d267f9d
commit
0bb2f72ee2
@ -2829,6 +2829,9 @@ namespace rsx
|
||||
|
||||
void thread::on_notify_pre_memory_unmapped(u32 address, u32 size, std::vector<std::pair<u64, u64>>& event_data)
|
||||
{
|
||||
// Always flush MM if memory mapping is going to change.
|
||||
rsx::mm_flush();
|
||||
|
||||
if (rsx_thread_running && address < rsx::constants::local_mem_base)
|
||||
{
|
||||
// Each bit represents io entry to be unmapped
|
||||
|
Loading…
x
Reference in New Issue
Block a user