From a6fb6c865d5e7ad07398d4cd70a78976fd182ce2 Mon Sep 17 00:00:00 2001 From: elad Date: Sun, 4 Feb 2018 13:47:49 +0200 Subject: [PATCH] mfc: dont check for one completed command if tag update requast is 2 Instead check only for completed commads tag groups specified in the tag mask ( as real hw does ) --- rpcs3/Emu/Cell/MFC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/MFC.cpp b/rpcs3/Emu/Cell/MFC.cpp index bd1c601349..71c138d47e 100644 --- a/rpcs3/Emu/Cell/MFC.cpp +++ b/rpcs3/Emu/Cell/MFC.cpp @@ -302,7 +302,7 @@ void mfc_thread::cpu_task() spu.ch_tag_stat.push(spu, completed); no_updates = 0; } - else if (completed && spu.ch_tag_mask == completed && spu.ch_tag_upd.compare_and_swap_test(2, 0)) + else if (spu.ch_tag_mask == completed && spu.ch_tag_upd.compare_and_swap_test(2, 0)) { spu.ch_tag_stat.push(spu, completed); no_updates = 0;