From 6b1d80ec25a57f64801f7685adbbb9e71f7b6d51 Mon Sep 17 00:00:00 2001
From: Megamouse <studienricky89@googlemail.com>
Date: Tue, 18 Dec 2018 23:59:35 +0100
Subject: [PATCH] cellCamera: fix read_mode

---
 rpcs3/Emu/Cell/Modules/cellCamera.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rpcs3/Emu/Cell/Modules/cellCamera.cpp b/rpcs3/Emu/Cell/Modules/cellCamera.cpp
index e80550aa4c..88e9a3d34b 100644
--- a/rpcs3/Emu/Cell/Modules/cellCamera.cpp
+++ b/rpcs3/Emu/Cell/Modules/cellCamera.cpp
@@ -433,7 +433,7 @@ s32 cellCameraOpenEx(s32 dev_num, vm::ptr<CellCameraInfoEx> info)
 
 	std::lock_guard lock(g_camera->mutex);
 
-	if (info->read_mode == CELL_CAMERA_READ_FUNCCALL && !info->buffer)
+	if (info->read_mode != CELL_CAMERA_READ_DIRECT && !info->buffer)
 	{
 		info->buffer = vm::cast(vm::alloc(vbuf_size, vm::memory_location_t::main));
 		info->bytesize = vbuf_size;