mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
PPSA16064 (Minecraft Dungeons II, Unreal Engine) failed to load because these imports had no export: - libkernel: sceCoredumpWriteUserString - libSceSaveData: sceSaveDataConvert, sceSaveDataGetConvertProgress - libSceVideoOut: sceVideoOutVrrPegToFixedRate, sceVideoOutVrrUnpegFromFixedRate None of them is called during the title's start-up, so they are added as unimplemented exports that throw with their name if a title calls them. Their signatures are unknown; TechnicalDebt records them. The built libraries export the NIDs the title imports.
30 lines
1.0 KiB
C++
30 lines
1.0 KiB
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);
|
|
}
|
|
|
|
int APS5_VABI sceVideoOutVrrPegToFixedRate() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceVideoOutVrrUnpegFromFixedRate() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
}
|