Fix sys_config_unregister_service

This commit is contained in:
Vestral 2025-01-05 08:22:12 +09:00
parent 55117f59ee
commit d18fcbf040

View file

@ -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<lv2_config_service>(service_hdl);
auto service = idm::get_unlocked<lv2_config_service>(service_hdl);
if (!service)
{
return CELL_ESRCH;