From 476090a747bb660acacdfd229813f0df9b7999ef Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 2 Dec 2018 20:36:50 +0300 Subject: [PATCH] Detach VBlank and RSX Decompiler threads Should fix exception handling in RSX Thread --- rpcs3/Emu/RSX/RSXThread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 28d1a152c5..d105d3afb0 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -569,7 +569,7 @@ namespace rsx last_flip_time = get_system_time() - 1000000; - named_thread vblank_thread("VBlank Thread", [this]() + thread_ctrl::spawn("VBlank Thread", [this]() { const u64 start_time = get_system_time(); @@ -604,7 +604,7 @@ namespace rsx } }); - named_thread decompiler_thread ("RSX Decompiler Thread", [this] + thread_ctrl::spawn("RSX Decompiler Thread", [this] { if (g_cfg.video.disable_asynchronous_shader_compiler) { @@ -1440,7 +1440,7 @@ namespace rsx info.attribute_stride += rsx::get_vertex_type_size_on_host(vinfo.type(), vinfo.size()); info.locations.push_back(index); - if (input_mask & (1u << index)) + if (input_mask & (1u << index)) { result.attribute_placement[index] = attribute_buffer_placement::transient; }