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:
@@ -1126,11 +1126,6 @@ s32 cellCameraSetNotifyEventQueue(u64 key)
|
|||||||
{
|
{
|
||||||
cellCamera.todo("cellCameraSetNotifyEventQueue(key=0x%x)", 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>();
|
const auto g_camera = fxm::get<camera_thread>();
|
||||||
if (!g_camera)
|
if (!g_camera)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user