From 19f3bb8cb0e3ddf5b26db8df56107c0a5abfb5b9 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 10 Oct 2017 16:41:44 +0300 Subject: [PATCH] Allow shader cache dialog cancellation --- rpcs3/Emu/RSX/rsx_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/rsx_cache.h b/rpcs3/Emu/RSX/rsx_cache.h index d7845704fa..84e66a6825 100644 --- a/rpcs3/Emu/RSX/rsx_cache.h +++ b/rpcs3/Emu/RSX/rsx_cache.h @@ -312,7 +312,7 @@ namespace rsx }); u32 processed = 0; - while (root.read(tmp)) + while (root.read(tmp) && !Emu.IsStopped()) { if (tmp.name == "." || tmp.name == "..") continue;