mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-03 14:14:59 -06:00
major skill issue (#4451)
This commit is contained in:
parent
6b5adca8a5
commit
f95edd27e0
@ -329,7 +329,7 @@ s32 PS4_SYSV_ABI sceCameraGetExposureGain(s32 handle, OrbisCameraChannel channel
|
|||||||
|
|
||||||
// Return default parameters
|
// Return default parameters
|
||||||
exposure_gain->exposureControl = 0;
|
exposure_gain->exposureControl = 0;
|
||||||
exposure_gain->exposure = 83;
|
exposure_gain->exposure = 20;
|
||||||
exposure_gain->gain = 100;
|
exposure_gain->gain = 100;
|
||||||
exposure_gain->mode = 0;
|
exposure_gain->mode = 0;
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
@ -1007,7 +1007,7 @@ s32 PS4_SYSV_ABI sceCameraStart(s32 handle, OrbisCameraStartParameter* param) {
|
|||||||
if (!g_library_opened) {
|
if (!g_library_opened) {
|
||||||
return ORBIS_CAMERA_ERROR_NOT_OPEN;
|
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] >= 0xf || param->formatLevel[1] >= 0xf ||
|
||||||
(param->formatLevel[0] | param->formatLevel[1]) == 0)) {
|
(param->formatLevel[0] | param->formatLevel[1]) == 0)) {
|
||||||
return ORBIS_CAMERA_ERROR_FORMAT_UNKNOWN;
|
return ORBIS_CAMERA_ERROR_FORMAT_UNKNOWN;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user