From 03df3c5293cf437d4e0b621e1a6c6253e565241a Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 29 May 2022 15:12:00 +0200 Subject: [PATCH] cellAudioQuit: do not clear event queues They seem to be handled independently. --- rpcs3/Emu/Cell/Modules/cellAudio.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellAudio.cpp b/rpcs3/Emu/Cell/Modules/cellAudio.cpp index 730269227b..ec8aeb62a7 100644 --- a/rpcs3/Emu/Cell/Modules/cellAudio.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAudio.cpp @@ -1144,10 +1144,7 @@ error_code cellAudioQuit() return CELL_AUDIO_ERROR_NOT_INIT; } - // TODO - g_audio.keys.clear(); - g_audio.key_count = 0; - g_audio.event_period = 0; + // NOTE: Do not clear event queues here. They are handled independently. g_audio.init = 0; return CELL_OK;