From 0811d2d527846efcb859167b3c035dfbf5a01df5 Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 20 May 2021 09:25:32 +0300 Subject: [PATCH] Fix bug of sys_rsx_context_attribute Mistake of reversing. --- rpcs3/Emu/Cell/lv2/sys_rsx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_rsx.cpp b/rpcs3/Emu/Cell/lv2/sys_rsx.cpp index 7d6486fa27..d55050badd 100644 --- a/rpcs3/Emu/Cell/lv2/sys_rsx.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_rsx.cpp @@ -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) { - 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 + return CELL_EINVAL; } auto &driverInfo = vm::_ref(render->driver_info);