major skill issue (#4451)

This commit is contained in:
kalaposfos13 2026-05-20 08:31:23 +02:00 committed by GitHub
parent 6b5adca8a5
commit f95edd27e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -329,7 +329,7 @@ s32 PS4_SYSV_ABI sceCameraGetExposureGain(s32 handle, OrbisCameraChannel channel
// Return default parameters
exposure_gain->exposureControl = 0;
exposure_gain->exposure = 83;
exposure_gain->exposure = 20;
exposure_gain->gain = 100;
exposure_gain->mode = 0;
return ORBIS_OK;
@ -1007,7 +1007,7 @@ s32 PS4_SYSV_ABI sceCameraStart(s32 handle, OrbisCameraStartParameter* param) {
if (!g_library_opened) {
return ORBIS_CAMERA_ERROR_NOT_OPEN;
}
if (g_firmware_version >= Common::ElfInfo::FW_250 &&
if (g_firmware_version <= Common::ElfInfo::FW_250 &&
(param->formatLevel[0] >= 0xf || param->formatLevel[1] >= 0xf ||
(param->formatLevel[0] | param->formatLevel[1]) == 0)) {
return ORBIS_CAMERA_ERROR_FORMAT_UNKNOWN;