From 8eab9fe36ca78d243922b645849a96018f947dde Mon Sep 17 00:00:00 2001 From: eladash Date: Sat, 19 May 2018 09:44:06 +0300 Subject: [PATCH] sys_rsx: fix unused pointer dereferencing --- rpcs3/Emu/Cell/lv2/sys_rsx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_rsx.cpp b/rpcs3/Emu/Cell/lv2/sys_rsx.cpp index edf165bc30..69ebe97d6a 100644 --- a/rpcs3/Emu/Cell/lv2/sys_rsx.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_rsx.cpp @@ -419,8 +419,8 @@ s32 sys_rsx_device_map(vm::ptr addr, vm::ptr 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;