mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Remove incorrect Emu.IsStopped() checks
This commit is contained in:
parent
a015bd1ebd
commit
bd9ba7ef1f
3 changed files with 5 additions and 5 deletions
|
@ -396,9 +396,9 @@ public:
|
||||||
// Destructor
|
// Destructor
|
||||||
~lv2_config_service_event()
|
~lv2_config_service_event()
|
||||||
{
|
{
|
||||||
if (auto& global = g_fxo->get<lv2_config>(); !Emu.IsStopped())
|
if (auto global = g_fxo->try_get<lv2_config>())
|
||||||
{
|
{
|
||||||
global.remove_service_event(id);
|
global->remove_service_event(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3121,7 +3121,7 @@ namespace rsx
|
||||||
|
|
||||||
while (!external_interrupt_ack)
|
while (!external_interrupt_ack)
|
||||||
{
|
{
|
||||||
if (Emu.IsStopped())
|
if (is_stopped())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
utils::pause();
|
utils::pause();
|
||||||
|
|
|
@ -691,7 +691,7 @@ namespace rsx
|
||||||
}
|
}
|
||||||
|
|
||||||
// There can be multiple queries all writing to the same address, loop to flush all of them
|
// There can be multiple queries all writing to the same address, loop to flush all of them
|
||||||
while (query->pending && !Emu.IsStopped())
|
while (query->pending)
|
||||||
{
|
{
|
||||||
update(ptimer, sync_address);
|
update(ptimer, sync_address);
|
||||||
}
|
}
|
||||||
|
@ -704,7 +704,7 @@ namespace rsx
|
||||||
flags32_t ZCULL_control::read_barrier(class ::rsx::thread* ptimer, u32 memory_address, occlusion_query_info* query)
|
flags32_t ZCULL_control::read_barrier(class ::rsx::thread* ptimer, u32 memory_address, occlusion_query_info* query)
|
||||||
{
|
{
|
||||||
// Called by cond render control. Internal RSX usage, do not disable optimizations
|
// Called by cond render control. Internal RSX usage, do not disable optimizations
|
||||||
while (query->pending && !Emu.IsStopped())
|
while (query->pending)
|
||||||
{
|
{
|
||||||
update(ptimer, memory_address);
|
update(ptimer, memory_address);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue