mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Fix bug of sys_rsx_context_attribute
Mistake of reversing.
This commit is contained in:
parent
3abf14beef
commit
0811d2d527
@ -413,8 +413,7 @@ error_code sys_rsx_context_attribute(u32 context_id, u32 package_id, u64 a3, u64
|
|||||||
|
|
||||||
if (!render->dma_address || context_id != 0x55555555)
|
if (!render->dma_address || context_id != 0x55555555)
|
||||||
{
|
{
|
||||||
sys_rsx.error("sys_rsx_context_attribute(): invalid context failure (context_id=0x%x)", context_id);
|
return CELL_EINVAL;
|
||||||
return CELL_OK; // Actually returns CELL_OK, cellGCmSys seem to be relying on this as well
|
|
||||||
}
|
}
|
||||||
|
|
||||||
auto &driverInfo = vm::_ref<RsxDriverInfo>(render->driver_info);
|
auto &driverInfo = vm::_ref<RsxDriverInfo>(render->driver_info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user