mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-07-09 17:25:18 -06:00
cellSysmodule: fixup
This commit is contained in:
parent
88f81381e8
commit
8145f24f05
@ -1118,7 +1118,8 @@ error_code cellSysmoduleUnloadModuleInternal(ppu_thread& ppu, u16 id)
|
||||
// Unload dependencies in reverse order
|
||||
for (const u16 module_id : MODULE_INFOS[INTERNAL_MODULES_OFFSET + (id & INTERNAL_MODULE_ID_MASK)].dependencies | std::views::reverse)
|
||||
{
|
||||
if (const error_code ret = module_id < INTERNAL_MODULE_ID_BASE ? cellSysmoduleUnloadModule(ppu, id) : cellSysmoduleUnloadModuleInternal(ppu, id); ret != CELL_OK)
|
||||
if (const error_code ret = module_id < INTERNAL_MODULE_ID_BASE ? cellSysmoduleUnloadModule(ppu, module_id) : cellSysmoduleUnloadModuleInternal(ppu, module_id);
|
||||
ret != CELL_OK)
|
||||
{
|
||||
return ret;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user