mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
New reservations
Memory system cleanup sys_memory_get_page_attribute
This commit is contained in:
parent
7cdb5f3123
commit
5e3bacbd9b
26 changed files with 1536 additions and 1531 deletions
|
@ -435,6 +435,12 @@ bool Emulator::Pause()
|
|||
idm::select<ARMv7Thread>(on_select);
|
||||
idm::select<RawSPUThread>(on_select);
|
||||
idm::select<SPUThread>(on_select);
|
||||
|
||||
if (auto mfc = fxm::check<mfc_thread>())
|
||||
{
|
||||
on_select(0, *mfc);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -471,6 +477,11 @@ void Emulator::Resume()
|
|||
idm::select<RawSPUThread>(on_select);
|
||||
idm::select<SPUThread>(on_select);
|
||||
|
||||
if (auto mfc = fxm::check<mfc_thread>())
|
||||
{
|
||||
on_select(0, *mfc);
|
||||
}
|
||||
|
||||
rpcs3::on_resume()();
|
||||
}
|
||||
|
||||
|
@ -498,6 +509,11 @@ void Emulator::Stop()
|
|||
idm::select<RawSPUThread>(on_select);
|
||||
idm::select<SPUThread>(on_select);
|
||||
|
||||
if (auto mfc = fxm::check<mfc_thread>())
|
||||
{
|
||||
on_select(0, *mfc);
|
||||
}
|
||||
|
||||
LOG_NOTICE(GENERAL, "All threads signaled...");
|
||||
|
||||
while (g_thread_count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue