46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
#include <atomic>
|
|
#include <cstdio>
|
|
|
|
// Entry points this library does not implement: reported before the unimplemented-call exception so an
|
|
// APS5_TRACE_AJM run shows which one a title reached.
|
|
static void AjmStub(const char* name) {
|
|
std::fprintf(stderr, "[ajm] unimplemented %s called\n", name);
|
|
NotImplemented_nid_no_patch(name);
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceAjmBatchJobEncode(AjmBatchInfo* info, uint32_t instance, const void* pcm_input, size_t pcm_input_size, void* bitstream_output, size_t bitstream_output_size, void* result) {
|
|
(void)info;
|
|
(void)instance;
|
|
(void)pcm_input;
|
|
(void)pcm_input_size;
|
|
(void)bitstream_output;
|
|
(void)bitstream_output_size;
|
|
(void)result;
|
|
AjmStub(__func__);
|
|
return 0;
|
|
}
|
|
|
|
const char* APS5_VABI sceAjmStrError(int error) {
|
|
(void)error;
|
|
AjmStub(__func__);
|
|
return nullptr;
|
|
}
|
|
|
|
int APS5_VABI sceAjmDecWVorbisCreateHeaderPacket(void) {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceAjmDecWVorbisCreateSetupPacket(void) {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
}
|