mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
3.9 KiB
3.9 KiB
libSceCamera
change [sceCameraGetWhiteBalance and sceCameraGetAutoExposureGain]
- sceCameraGetWhiteBalance and sceCameraGetAutoExposureGain (libSceCamera) - returning SCE_CAMERA_ERROR_PARAM for an unwritable output pointer is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. Before any
sceCameraOpenon a PS5 (firmware 11.60, payload process; a title process may differ) the console answered0x802e0000for the handles -1 and 0 with an own buffer, with NULL and with the unmapped pointer0x10(handle -1), left the buffer unchanged and loggedinvalid handle, so the handle check answers first and the question for an unmapped pointer stays open (one run; the registers after the handle were assumed to hold the pointers).
change [sceCameraGetWhiteBalance]
- sceCameraGetWhiteBalance (libSceCamera) - returning SCE_CAMERA_ERROR_PARAM for an unwritable output pointer is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. Before any
sceCameraOpenon a PS5 (firmware 11.60, payload process; a title process may differ) the console answered0x802e0000for the handles -1 and 0 with an own buffer, with NULL and with the unmapped pointer0x10(handle -1), left the buffer unchanged and loggedinvalid handle, so the handle check answers first and the question for an unmapped pointer stays open (one run; the registers after the handle were assumed to hold the pointers).
change [sceCameraGetDeviceConfig]
- sceCameraGetDeviceConfig (libSceCamera) - returning SCE_CAMERA_ERROR_PARAM for an unwritable output pointer is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. Before any
sceCameraOpenon a PS5 (firmware 11.60, payload process; a title process may differ) the console answered0x802e0000for the handles -1 and 0 with an own buffer, with NULL and with the unmapped pointer0x10(handle -1), left the buffer unchanged and loggedinvalid handle, so the handle check answers first and the question for an unmapped pointer stays open (one run; the registers after the handle were assumed to hold the pointers).
change [sceCameraGetConfig, sceCameraSetConfig and sceCameraSetConfigInternal]
- sceCameraGetConfig, sceCameraSetConfig and sceCameraSetConfigInternal (libSceCamera) - returning SCE_CAMERA_ERROR_PARAM for an unwritable output or unreadable configuration pointer is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. Before any
sceCameraOpenon a PS5 (firmware 11.60, payload process; a title process may differ) the console answered0x802e0000for sceCameraGetConfig with the handles -1 and 0 and sceCameraSetConfig with the handle -1 (an own buffer, NULL and0x10), left the buffer unchanged and loggedinvalid handle;sceCameraSetConfigInternalwas not called. The handle check answers first, so the question for an unmapped pointer stays open (one run; the registers after the handle were assumed to hold the pointers).
change [sceCameraGetDeviceConfigWithoutHandle]
- sceCameraGetDeviceConfigWithoutHandle (libSceCamera) - returning SCE_CAMERA_ERROR_PARAM for an unwritable output pointer is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. On a PS5 (firmware 11.60, payload process; a title process may differ) the console answered
0x802e0000for an own 256-byte buffer in all four argument registers and left the buffer unchanged (one run); NULL and an unmapped pointer were not tried, so the question stays open.