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.
This commit is contained in:
Eladash 2019-07-27 17:09:27 +03:00 committed by Ivan
parent 96527eee5b
commit ecb3b62787

View file

@ -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<camera_thread>();
if (!g_camera)
{