From ecb3b62787528b28bbe06ee79effba34faa0667c Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 27 Jul 2019 17:09:27 +0300 Subject: [PATCH] Fix CELL_CAMERA_ERROR_NOT_INIT check in cellCameraSetNotifyEventQueue when camera set to null Don't worry, this was a duplicated check for null camera setting. --- rpcs3/Emu/Cell/Modules/cellCamera.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellCamera.cpp b/rpcs3/Emu/Cell/Modules/cellCamera.cpp index ee33b9150f..39e0973e71 100644 --- a/rpcs3/Emu/Cell/Modules/cellCamera.cpp +++ b/rpcs3/Emu/Cell/Modules/cellCamera.cpp @@ -1126,11 +1126,6 @@ s32 cellCameraSetNotifyEventQueue(u64 key) { cellCamera.todo("cellCameraSetNotifyEventQueue(key=0x%x)", key); - if (g_cfg.io.camera == camera_handler::null) - { - return CELL_OK; - } - const auto g_camera = fxm::get(); if (!g_camera) {