From 6de4c27b32438044e8f544a0560419f7d9d10a34 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 5 Aug 2021 00:36:13 +0200 Subject: [PATCH] cellGem: fix controller connection check --- rpcs3/Emu/Cell/Modules/cellGem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellGem.cpp b/rpcs3/Emu/Cell/Modules/cellGem.cpp index c0d2798616..b27efdacdd 100644 --- a/rpcs3/Emu/Cell/Modules/cellGem.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGem.cpp @@ -1356,7 +1356,7 @@ error_code cellGemReadExternalPortDeviceInfo(u32 gem_num, vm::ptr ext_id, v return CELL_GEM_ERROR_INVALID_PARAMETER; } - if (gem.controllers[gem_num].status & CELL_GEM_STATUS_DISCONNECTED) + if (!gem.is_controller_ready(gem_num)) { return CELL_GEM_NOT_CONNECTED; }