1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-01-31 20:41:45 +01:00

Fix potential crash in begin_occlusion_query() while closing the Emu

This commit is contained in:
eladash 2019-01-27 20:59:33 +02:00 committed by Ivan
parent 039f8e1f9d
commit 6f770c8e35

View File

@ -2612,7 +2612,7 @@ namespace rsx
void ZCULL_control::allocate_new_query(::rsx::thread* ptimer)
{
int retries = 0;
while (!Emu.IsStopped())
while (true)
{
for (u32 n = 0; n < occlusion_query_count; ++n)
{