mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-11 03:00:27 +01:00
sys_rsx: Fix error code instead of success on invalid context
This commit is contained in:
parent
c48ccc6f3c
commit
256c74def2
|
|
@ -407,7 +407,8 @@ error_code sys_rsx_context_attribute(u32 context_id, u32 package_id, u64 a3, u64
|
|||
|
||||
if (!rsx_cfg->context_base || context_id != 0x55555555)
|
||||
{
|
||||
return CELL_EINVAL;
|
||||
sys_rsx.error("sys_rsx_context_attribute(): invalid context failure (context_id=0x%x)", context_id);
|
||||
return CELL_OK; // Actually returns CELL_OK, cellGCmSys seem to be relying on this as well
|
||||
}
|
||||
|
||||
auto &driverInfo = vm::_ref<RsxDriverInfo>(rsx_cfg->driver_info);
|
||||
|
|
|
|||
Loading…
Reference in a new issue