From 33e80a733d8a5c32758817e40dc4a2b6cfed380b Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 30 Oct 2021 22:31:08 +0200 Subject: [PATCH] overlays: fix trophy notification sound in queue --- rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp b/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp index a1b4d5b186..893a9c5ce0 100644 --- a/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp +++ b/rpcs3/Emu/RSX/Overlays/overlay_trophy_notification.cpp @@ -71,6 +71,7 @@ namespace rsx { // First tick creation_time = t; + Emu.GetCallbacks().play_sound(fs::get_config_dir() + "sounds/trophy.wav"); return; } @@ -176,8 +177,6 @@ namespace rsx visible = true; - Emu.GetCallbacks().play_sound(fs::get_config_dir() + "sounds/trophy.wav"); - return CELL_OK; } } // namespace overlays