mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Add some FXO init checks
This commit is contained in:
parent
98a0c76a08
commit
c6dadc537b
@ -2718,8 +2718,15 @@ bool Emulator::Pause(bool freeze_emulation, bool show_resume_message)
|
|||||||
cpu.state += cpu_flag::dbg_global_pause;
|
cpu.state += cpu_flag::dbg_global_pause;
|
||||||
};
|
};
|
||||||
|
|
||||||
idm::select<named_thread<ppu_thread>>(on_select);
|
if (g_fxo->is_init<id_manager::id_map<named_thread<ppu_thread>>>())
|
||||||
idm::select<named_thread<spu_thread>>(on_select);
|
{
|
||||||
|
idm::select<named_thread<ppu_thread>>(on_select);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (g_fxo->is_init<id_manager::id_map<named_thread<spu_thread>>>())
|
||||||
|
{
|
||||||
|
idm::select<named_thread<spu_thread>>(on_select);
|
||||||
|
}
|
||||||
|
|
||||||
if (auto rsx = g_fxo->try_get<rsx::thread>())
|
if (auto rsx = g_fxo->try_get<rsx::thread>())
|
||||||
{
|
{
|
||||||
|
@ -1049,8 +1049,15 @@ void debugger_frame::UpdateUnitList()
|
|||||||
|
|
||||||
if (emu_state != system_state::stopped)
|
if (emu_state != system_state::stopped)
|
||||||
{
|
{
|
||||||
idm::select<named_thread<ppu_thread>>(on_select, idm::unlocked);
|
if (g_fxo->is_init<id_manager::id_map<named_thread<ppu_thread>>>())
|
||||||
idm::select<named_thread<spu_thread>>(on_select, idm::unlocked);
|
{
|
||||||
|
idm::select<named_thread<ppu_thread>>(on_select, idm::unlocked);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (g_fxo->is_init<id_manager::id_map<named_thread<spu_thread>>>())
|
||||||
|
{
|
||||||
|
idm::select<named_thread<spu_thread>>(on_select, idm::unlocked);
|
||||||
|
}
|
||||||
|
|
||||||
if (const auto render = g_fxo->try_get<rsx::thread>(); render && render->ctrl)
|
if (const auto render = g_fxo->try_get<rsx::thread>(); render && render->ctrl)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user