From 501e9260b2f2c175c19e3a7e80a0afc7952a3f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= Date: Thu, 25 Jul 2024 22:02:09 +0100 Subject: [PATCH] cellMic: Wake up upon registering emulated SingStar microphone When using the emulated SingStar microphone, the device is only registered when initializing `cellMic`. However, the `mic_context` thread is only woken up when calling `register_device`. The registration happens before initializing `cellMic`, so the thread is never woken up after registering the device. Add call to `wake_up` in `load_config_and_init` inside the emulated SingStar microphone specific code to fix this issue, allowing the thread to detect the device and update the microphone data. This allows SingStar to receive the microphone data when using the emulated SingStar microphone that it previously wasn't receiving. --- rpcs3/Emu/Cell/Modules/cellMic.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellMic.cpp b/rpcs3/Emu/Cell/Modules/cellMic.cpp index 44afdec689..df2bca2762 100644 --- a/rpcs3/Emu/Cell/Modules/cellMic.cpp +++ b/rpcs3/Emu/Cell/Modules/cellMic.cpp @@ -149,6 +149,8 @@ void mic_context::load_config_and_init() { device.add_device(device_list[1]); } + + wake_up(); } else {