mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
sys_rsx: fix unused pointer dereferencing
This commit is contained in:
parent
824340363d
commit
8eab9fe36c
1 changed files with 2 additions and 2 deletions
|
@ -419,8 +419,8 @@ s32 sys_rsx_device_map(vm::ptr<u64> addr, vm::ptr<u64> a2, u32 dev_id)
|
|||
fmt::throw_exception("sys_rsx_device_map: Invalid dev_id %d", dev_id);
|
||||
}
|
||||
|
||||
// a2 seems to not be referenced in cellGcmSys
|
||||
*a2 = 0;
|
||||
// a2 seems to not be referenced in cellGcmSys, tests show this arg is ignored
|
||||
//*a2 = 0;
|
||||
|
||||
*addr = 0x40000000;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue