From 94a7e52c1f52b1df24f579309b65e5fa71b8418f Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 27 Mar 2022 22:48:49 +0300 Subject: [PATCH] rsx: Disable ref count on exit --- rpcs3/Emu/RSX/Common/texture_cache_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache_utils.h b/rpcs3/Emu/RSX/Common/texture_cache_utils.h index 644f32b6a0..9cbbbcf562 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache_utils.h +++ b/rpcs3/Emu/RSX/Common/texture_cache_utils.h @@ -1354,7 +1354,7 @@ namespace rsx set_dirty(false); } - if (context == rsx::texture_upload_context::framebuffer_storage) + if (context == rsx::texture_upload_context::framebuffer_storage && !Emu.IsStopped()) { // Lock, unlock if (prot == utils::protection::no && old_prot != utils::protection::no)