From 2891c8a8328e74823d04a8f3654895e0f01d4457 Mon Sep 17 00:00:00 2001 From: Vestral <16190165+Vestrel@users.noreply.github.com> Date: Sun, 5 Jan 2025 08:22:12 +0900 Subject: [PATCH] Fix sys_config_unregister_service --- rpcs3/Emu/Cell/lv2/sys_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_config.cpp b/rpcs3/Emu/Cell/lv2/sys_config.cpp index c39444ccd03d..1dee56a37433 100644 --- a/rpcs3/Emu/Cell/lv2/sys_config.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_config.cpp @@ -429,7 +429,7 @@ error_code sys_config_unregister_service(u32 config_hdl, u32 service_hdl) sys_config.trace("sys_config_unregister_service(config_hdl=0x%x, service_hdl=0x%x)", config_hdl, service_hdl); // Remove listener from IDM - auto service = idm::withdraw(service_hdl); + auto service = idm::get_unlocked(service_hdl); if (!service) { return CELL_ESRCH;