mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-04 13:55:03 -06:00
Fix potential crash in begin_occlusion_query() while closing the Emu
This commit is contained in:
parent
039f8e1f9d
commit
6f770c8e35
@ -2612,7 +2612,7 @@ namespace rsx
|
|||||||
void ZCULL_control::allocate_new_query(::rsx::thread* ptimer)
|
void ZCULL_control::allocate_new_query(::rsx::thread* ptimer)
|
||||||
{
|
{
|
||||||
int retries = 0;
|
int retries = 0;
|
||||||
while (!Emu.IsStopped())
|
while (true)
|
||||||
{
|
{
|
||||||
for (u32 n = 0; n < occlusion_query_count; ++n)
|
for (u32 n = 0; n < occlusion_query_count; ++n)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user