mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 00:53:02 -05:00
- libSceAgc: SetIndexCount, SetBaseIndirectArgs, DispatchIndirect, wait and write-data patch functions, relaxed checks for what titles send, NOP fillers for LOD stats and wait-until-safe, NotImplemented stubs. - libSceSaveData.native: short mount points, backup events, save-data memory slots. - user/system service, store dialog, video-out flip modes and queue-full error, pad read, fibers, offline behaviour for network/NP modules, and new export-only modules Ampr, JpegEnc, Json2, MsgDialog.native, NpCppWebApi, NpUtility. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0177gthrWEBBfBu5xJDXgBfo
21 lines
833 B
C++
21 lines
833 B
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
#include "prx/libSceVideoOut/include/Output.hpp"
|
|
#include <stdexcept>
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceVideoOutAdjustColor_(int handle, const VideoOutColorSettings* settings, uint32_t settings_size) {
|
|
if (settings_size < sizeof(VideoOutColorSettings)) throw std::runtime_error("sceVideoOutAdjustColor_: VIDEO_OUT_ERROR_INVALID_VALUE");
|
|
return sceVideoOutAdjustColor(handle, settings);
|
|
}
|
|
|
|
int APS5_VABI sceVideoOutColorSettingsSetGamma_(VideoOutColorSettings* settings, float gamma, uint32_t settings_size) {
|
|
if (settings_size < sizeof(VideoOutColorSettings)) throw std::runtime_error("sceVideoOutColorSettingsSetGamma_: VIDEO_OUT_ERROR_INVALID_VALUE");
|
|
return sceVideoOutColorSettingsSetGamma(settings, gamma);
|
|
}
|
|
|
|
}
|