From f2bca2ef67cecb71c4b9251448efce1a5f01e70e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 4 Aug 2021 22:57:13 +0200 Subject: [PATCH] cellGem: set cellGemGetCameraState values --- rpcs3/Emu/Cell/Modules/cellGem.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellGem.cpp b/rpcs3/Emu/Cell/Modules/cellGem.cpp index c0c5f877b2..2cca183988 100644 --- a/rpcs3/Emu/Cell/Modules/cellGem.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGem.cpp @@ -716,8 +716,12 @@ error_code cellGemGetCameraState(vm::ptr camera_state) return CELL_GEM_ERROR_INVALID_PARAMETER; } - camera_state->exposure_time = 1.0f / 60.0f; // TODO: use correct framerate + // TODO: use correct camera settings + camera_state->exposure = 0; + camera_state->exposure_time = 1.0f / 60.0f; camera_state->gain = 1.0; + camera_state->pitch_angle = 0.0; + camera_state->pitch_angle_estimate = 0.0; return CELL_OK; }