diff --git a/core/libs/prx/libReactNative.Modules.Vsh.WebAppLauncher/Export.cpp b/core/libs/prx/libReactNative.Modules.Vsh.WebAppLauncher/Export.cpp index 642996310..6d45c8834 100644 --- a/core/libs/prx/libReactNative.Modules.Vsh.WebAppLauncher/Export.cpp +++ b/core/libs/prx/libReactNative.Modules.Vsh.WebAppLauncher/Export.cpp @@ -1,21 +1,25 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int ErrorDialogClose(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int ErrorDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int ShareGetCurrentStatus(uint32_t feature_flag, ShareCurrentStatus* status) { (void)feature_flag; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -23,16 +27,19 @@ int ShareInitialize(size_t heap_size, int thread_priority, uint64_t affinity_mas (void)heap_size; (void)thread_priority; (void)affinity_mask; + NotImplemented_nid_no_patch(__func__); return 0; } int ShareTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int SystemServiceParamGetInt(int param_id, int* value) { (void)param_id; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -40,6 +47,7 @@ int SystemServiceParamGetString(int param_id, char* buf, size_t buf_size) { (void)param_id; (void)buf; (void)buf_size; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libReactNative.Modules.Vsh/Export.cpp b/core/libs/prx/libReactNative.Modules.Vsh/Export.cpp index eea4db07b..54e5abdbc 100644 --- a/core/libs/prx/libReactNative.Modules.Vsh/Export.cpp +++ b/core/libs/prx/libReactNative.Modules.Vsh/Export.cpp @@ -1,18 +1,21 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int RemotePlayGetConnectionStatus(int user_id, int* status) { (void)user_id; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } int ShareGetCurrentStatus(uint32_t feature_flag, ShareCurrentStatus* status) { (void)feature_flag; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -20,10 +23,12 @@ int ShareInitialize(size_t heap_size, int thread_priority, uint64_t affinity_mas (void)heap_size; (void)thread_priority; (void)affinity_mask; + NotImplemented_nid_no_patch(__func__); return 0; } int ShareTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAcm/Export.cpp b/core/libs/prx/libSceAcm/Export.cpp index c8cd42299..ea6d51813 100644 --- a/core/libs/prx/libSceAcm/Export.cpp +++ b/core/libs/prx/libSceAcm/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -10,6 +11,7 @@ int sceAcmBatchStartBuffer(AcmContextId context, const void* batch_commands, siz (void)batch_size; (void)batch_error; (void)batch; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -19,6 +21,7 @@ int sceAcmBatchStartBuffers(AcmContextId context, uint32_t batch_info_count, con (void)batch_info; (void)batch_error; (void)batch; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -26,16 +29,19 @@ int sceAcmBatchWait(AcmContextId context, AcmBatchId batch, uint32_t timeout) { (void)context; (void)batch; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAcmContextCreate(AcmContextId* context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAcmContextDestroy(AcmContextId context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAgc/Export.cpp b/core/libs/prx/libSceAgc/Export.cpp index 3c38b1e2d..054a95d99 100644 --- a/core/libs/prx/libSceAgc/Export.cpp +++ b/core/libs/prx/libSceAgc/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -10,10 +11,12 @@ uint32_t* sceAgcAcbAcquireMem(CommandBuffer* buf, uint32_t gcr_cntl, const volat (void)base; (void)size_bytes; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcAcbAcquireMemGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,10 +24,12 @@ uint32_t* sceAgcAcbCondExec(CommandBuffer* buf, const volatile uint32_t* address (void)buf; (void)address; (void)num_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcAcbCondExecGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -38,6 +43,7 @@ uint32_t* sceAgcAcbCopyData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_p (void)src_address_or_immediate; (void)item_size; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -45,6 +51,7 @@ uint32_t* sceAgcAcbDispatchIndirect(CommandBuffer* buf, const volatile void* ind (void)buf; (void)indirect_args; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -59,6 +66,7 @@ uint32_t* sceAgcAcbDmaData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_po (void)num_bytes; (void)wait_for_previous; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -66,15 +74,18 @@ uint32_t* sceAgcAcbEventWrite(CommandBuffer* buf, uint8_t event_type, const vola (void)buf; (void)event_type; (void)address; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcAcbJumpGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcAcbPopMarker(CommandBuffer* buf) { (void)buf; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -82,12 +93,14 @@ uint32_t* sceAgcAcbPushMarker(CommandBuffer* buf, const char* str, uint32_t colo (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcAcbResetQueue(CommandBuffer* buf, uint32_t op) { (void)buf; (void)op; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -95,6 +108,7 @@ uint32_t* sceAgcAcbSetMarker(CommandBuffer* buf, const char* str, uint32_t color (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -107,6 +121,7 @@ uint32_t* sceAgcAcbWaitRegMem(CommandBuffer* buf, uint8_t size, uint8_t compare_ (void)reference; (void)mask; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -119,6 +134,7 @@ uint32_t* sceAgcAcbWriteData(CommandBuffer* buf, uint8_t dst, uint8_t cache_poli (void)num_dwords; (void)increment; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -135,6 +151,7 @@ uint32_t* sceAgcCbBranch(CommandBuffer* buf, uint8_t mode, uint8_t compare_funct (void)cache_policy2; (void)buffer2; (void)size_in_dwords2; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -144,25 +161,30 @@ uint32_t* sceAgcCbDispatch(CommandBuffer* buf, uint32_t thread_group_x, uint32_t (void)thread_group_y; (void)thread_group_z; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcCbDispatchGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcCbNop_nid_postfix(CommandBuffer* buf, uint32_t size_in_dwords) { (void)buf; (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcCbNopGetSize(uint32_t size_in_dwords) { (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcCbQueueEndOfPipeActionGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -179,6 +201,7 @@ uint32_t* sceAgcCbReleaseMem(CommandBuffer* buf, uint8_t action, uint16_t gcr_cn (void)gds_size; (void)interrupt; (void)interrupt_ctx_id; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -187,11 +210,13 @@ uint32_t* sceAgcCbSetShRegisterRangeDirect(CommandBuffer* buf, uint32_t offset, (void)offset; (void)values; (void)num_values; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcCbSetShRegisterRangeDirectGetSize(uint32_t num_values) { (void)num_values; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -199,18 +224,21 @@ uint32_t* sceAgcCbSetShRegistersDirect(CommandBuffer* buf, const volatile Shader (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceAgcCondExecPatchSetCommandAddress(uint32_t* cmd, const volatile uint32_t* command) { (void)cmd; (void)command; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcCondExecPatchSetEnd(uint32_t* cmd, const volatile uint32_t* buffer) { (void)cmd; (void)buffer; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -218,6 +246,7 @@ int sceAgcCreateInterpolantMapping(ShaderRegister* regs, const Shader* gs, const (void)regs; (void)gs; (void)ps; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -227,6 +256,7 @@ int sceAgcCreatePrimState(ShaderRegister* cx_regs, ShaderRegister* uc_regs, cons (void)hs; (void)gs; (void)prim_type; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -234,6 +264,7 @@ int sceAgcCreateShader(Shader** dst, void* header, const volatile void* code) { (void)dst; (void)header; (void)code; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -245,10 +276,12 @@ uint32_t* sceAgcDcbAcquireMem(CommandBuffer* buf, uint8_t engine, uint32_t cb_db (void)base; (void)size_bytes; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbAcquireMemGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -256,21 +289,25 @@ uint32_t* sceAgcDcbCondExec(CommandBuffer* buf, const volatile uint32_t* address (void)buf; (void)address; (void)num_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbCondExecGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcDcbContextStateOp(CommandBuffer* buf, uint32_t operation) { (void)buf; (void)operation; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint64_t sceAgcDcbContextStateOpGetSize(uint32_t operation) { (void)operation; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -284,6 +321,7 @@ uint32_t* sceAgcDcbCopyData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_p (void)src_address_or_immediate; (void)item_size; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -291,10 +329,12 @@ uint32_t* sceAgcDcbDispatchIndirect(CommandBuffer* buf, uint32_t data_offset_in_ (void)buf; (void)data_offset_in_bytes; (void)flags; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDispatchIndirectGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -311,6 +351,7 @@ uint32_t* sceAgcDcbDmaData(CommandBuffer* buf, uint8_t engine, uint8_t dst, uint (void)wait_for_previous; (void)write_confirm; (void)block_engine; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -319,6 +360,7 @@ uint32_t* sceAgcDcbDrawIndex(CommandBuffer* buf, uint32_t index_count, const vol (void)index_count; (void)index_addr; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -326,14 +368,17 @@ uint32_t* sceAgcDcbDrawIndexAuto(CommandBuffer* buf, uint32_t index_count, uint6 (void)buf; (void)index_count; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndexAutoGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcDcbDrawIndexGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -341,6 +386,7 @@ uint32_t* sceAgcDcbDrawIndexIndirect(CommandBuffer* buf, uint32_t data_offset_in (void)buf; (void)data_offset_in_bytes; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -352,6 +398,7 @@ uint32_t* sceAgcDcbDrawIndexIndirectMulti(CommandBuffer* buf, uint32_t data_offs (void)count_addr; (void)stride_in_bytes; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -362,10 +409,12 @@ uint32_t* sceAgcDcbDrawIndexMultiInstanced(CommandBuffer* buf, uint32_t index_co (void)object_ids; (void)instance_count; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndexMultiInstancedGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -374,10 +423,12 @@ uint32_t* sceAgcDcbDrawIndexOffset(CommandBuffer* buf, uint32_t index_offset, ui (void)index_offset; (void)index_count; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndexOffsetGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -385,10 +436,12 @@ uint32_t* sceAgcDcbDrawIndirect(CommandBuffer* buf, uint32_t data_offset_in_byte (void)buf; (void)data_offset_in_bytes; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndirectGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -396,6 +449,7 @@ uint32_t* sceAgcDcbEventWrite(CommandBuffer* buf, uint8_t event_type, const vola (void)buf; (void)event_type; (void)address; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -408,6 +462,7 @@ uint32_t* sceAgcDcbGetLodStats(CommandBuffer* buf, uint8_t cache_policy, const v (void)force_reset; (void)report_and_reset; (void)reporting_interval_in_100k_clocks; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -417,15 +472,18 @@ uint32_t* sceAgcDcbJump(CommandBuffer* buf, uint8_t mode, uint8_t cache_policy, (void)cache_policy; (void)target; (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbJumpGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcDcbPopMarker(CommandBuffer* buf) { (void)buf; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -433,6 +491,7 @@ uint32_t* sceAgcDcbPushMarker(CommandBuffer* buf, const char* str, uint32_t colo (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -440,16 +499,19 @@ uint32_t* sceAgcDcbResetQueue(CommandBuffer* buf, uint32_t op, uint32_t state) { (void)buf; (void)op; (void)state; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbRewind(CommandBuffer* buf, uint32_t initial_state) { (void)buf; (void)initial_state; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbRewindGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -457,16 +519,19 @@ uint32_t* sceAgcDcbSetBaseIndirectArgs(CommandBuffer* buf, uint32_t shader_type, (void)buf; (void)shader_type; (void)indirect_base_addr; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetCxRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { (void)buf; (void)reg; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbSetCxRegisterDirectGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -474,6 +539,7 @@ uint32_t* sceAgcDcbSetCxRegistersIndirect(CommandBuffer* buf, const volatile Sha (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -483,18 +549,21 @@ uint32_t* sceAgcDcbSetFlip(CommandBuffer* buf, uint32_t video_out_handle, int32_ (void)display_buffer_index; (void)flip_mode; (void)flip_arg; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetIndexBuffer(CommandBuffer* buf, uint64_t index_addr) { (void)buf; (void)index_addr; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetIndexCount(CommandBuffer* buf, uint32_t index_count) { (void)buf; (void)index_count; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -502,6 +571,7 @@ uint32_t* sceAgcDcbSetIndexSize(CommandBuffer* buf, uint8_t index_size, uint8_t (void)buf; (void)index_size; (void)cache_policy; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -509,16 +579,19 @@ uint32_t* sceAgcDcbSetMarker(CommandBuffer* buf, const char* str, uint32_t color (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetNumInstances(CommandBuffer* buf, uint32_t num_instances) { (void)buf; (void)num_instances; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbSetNumInstancesGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -529,12 +602,14 @@ uint32_t* sceAgcDcbSetPredication(CommandBuffer* buf, uint8_t condition, uint8_t (void)wait_op; (void)address; (void)count_in_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetShRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { (void)buf; (void)reg; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -542,12 +617,14 @@ uint32_t* sceAgcDcbSetShRegistersIndirect(CommandBuffer* buf, const volatile Sha (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetUcRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { (void)buf; (void)reg; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -555,6 +632,7 @@ uint32_t* sceAgcDcbSetUcRegistersIndirect(CommandBuffer* buf, const volatile Sha (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -562,6 +640,7 @@ uint32_t* sceAgcDcbSetWorkloadComplete(CommandBuffer* buf, uint32_t stream_id, u (void)buf; (void)stream_id; (void)workload_id; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -570,16 +649,19 @@ uint32_t* sceAgcDcbSetWorkloadsActive(CommandBuffer* buf, uint32_t stream_id, co (void)stream_id; (void)workload_ids; (void)workload_count; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbStallCommandBufferParser(CommandBuffer* buf) { (void)buf; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbWaitOnAddressGetSize(uint32_t size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -593,6 +675,7 @@ uint32_t* sceAgcDcbWaitRegMem(CommandBuffer* buf, uint8_t size, uint8_t compare_ (void)reference; (void)mask; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -600,6 +683,7 @@ uint32_t* sceAgcDcbWaitUntilSafeForRendering(CommandBuffer* buf, uint32_t video_ (void)buf; (void)video_out_handle; (void)display_buffer_index; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -612,23 +696,27 @@ uint32_t* sceAgcDcbWriteData(CommandBuffer* buf, uint8_t dst, uint8_t cache_poli (void)num_dwords; (void)increment; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbWriteDataGetSize(uint32_t num_dwords) { (void)num_dwords; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDmaDataPatchSetDstAddressOrOffset(uint32_t* cmd, uint64_t dst_address_or_offset) { (void)cmd; (void)dst_address_or_offset; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDmaDataPatchSetSrcAddressOrOffsetOrImmediate(uint32_t* cmd, uint64_t src_address_or_offset_or_immediate) { (void)cmd; (void)src_address_or_offset_or_immediate; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -636,27 +724,32 @@ int sceAgcGetDataPacketPayloadAddress(uint32_t** addr, uint32_t* cmd, int type) (void)addr; (void)cmd; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcGetPacketSize(uint32_t* packet) { (void)packet; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceAgcGetRegisterDefaults2(uint32_t ver) { (void)ver; + NotImplemented_nid_no_patch(__func__); return nullptr; } void* sceAgcGetRegisterDefaults2Internal(uint32_t ver) { (void)ver; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceAgcInit_nid_postfix(uint32_t* state, uint32_t ver) { (void)state; (void)ver; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -664,12 +757,14 @@ int sceAgcJumpPatchSetTarget(uint32_t* cmd, const volatile uint32_t* target, uin (void)cmd; (void)target; (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcQueueEndOfPipeActionPatchAddress(uint32_t* cmd, const volatile Label* address) { (void)cmd; (void)address; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -678,36 +773,42 @@ int sceAgcQueueEndOfPipeActionPatchData(uint32_t* cmd, uint32_t context_id, uint (void)context_id; (void)data_sel; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcRewindPatchSetRewindState(uint32_t* cmd, uint8_t state) { (void)cmd; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetCxRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetCxRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { (void)cmd; (void)regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetCxRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetPacketPredication(uint32_t* packet, uint32_t predication) { (void)packet; (void)predication; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -715,46 +816,54 @@ int sceAgcSetRangePredication(uint32_t* start, const volatile uint32_t* end, uin (void)start; (void)end; (void)predication; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetShRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetShRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { (void)cmd; (void)regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetShRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetUcRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetUcRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { (void)cmd; (void)regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetUcRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSuspendPoint(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -762,18 +871,21 @@ int sceAgcUpdatePrimState(ShaderRegister* cx_regs, ShaderRegister* uc_regs, uint (void)cx_regs; (void)uc_regs; (void)prim_type; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcWaitRegMemPatchAddress(uint32_t* cmd, const volatile void* address) { (void)cmd; (void)address; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcWaitRegMemPatchReference(uint32_t* cmd, uint64_t reference) { (void)cmd; (void)reference; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAgcDriver/Export.cpp b/core/libs/prx/libSceAgcDriver/Export.cpp index ac897389b..19a383ef6 100644 --- a/core/libs/prx/libSceAgcDriver/Export.cpp +++ b/core/libs/prx/libSceAgcDriver/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,49 +9,59 @@ int sceAgcDriverAddEqEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverDeleteEqEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcDriverGetEqContextId(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverGetEqEventType(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcDriverInitResourceRegistration(void) { + NotImplemented_nid_no_patch(__func__); return 0; } bool sceAgcDriverIsCaptureInProgress(void) { + NotImplemented_nid_no_patch(__func__); return false; } uint32_t sceAgcDriverQueryResourceRegistrationUserMemoryRequirements(uint64_t* size_in_bytes) { (void)size_in_bytes; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverRegisterOwner(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverRegisterResource(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverRegisterWorkloadStream(uint32_t stream_id, const void* stream) { (void)stream_id; (void)stream; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -58,29 +69,34 @@ int sceAgcDriverSetHsOffchipParam(uint64_t value0, uint64_t value1, uint64_t val (void)value0; (void)value1; (void)value2; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverSetTFRing(const volatile void* base, uint32_t size) { (void)base; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverSubmitAcb(uint32_t queue, const Packet* packet) { (void)queue; (void)packet; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverSubmitCommandBuffer(void* queue_context, const Packet* packet) { (void)queue_context; (void)packet; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverSubmitDcb(const Packet* packet) { (void)packet; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -89,6 +105,7 @@ int sceAgcDriverSubmitMultiAcbs(uint32_t queue, uint32_t* const* acbs, const uin (void)acbs; (void)sizes_in_dwords; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -97,6 +114,7 @@ int sceAgcDriverSubmitMultiCommandBuffers(void* queue_context, uint32_t* const* (void)command_buffers; (void)sizes_in_dwords; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -104,32 +122,38 @@ int sceAgcDriverSubmitMultiDcbs(uint32_t* const* dcb_gpu_addrs, const uint32_t* (void)dcb_gpu_addrs; (void)dcb_sizes_in_dwords; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverUnregisterOwnerAndResources(uint32_t owner_handle) { (void)owner_handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDriverUnregisterResource(void) { + NotImplemented_nid_no_patch(__func__); return 0; } // signature from name bool sceAgcDriverIsTraceInProgress(void) { + NotImplemented_nid_no_patch(__func__); return false; } // signature from name bool sceAgcDriverIsSubmitValidationEnabled(void) { + NotImplemented_nid_no_patch(__func__); return false; } // signature from name int sceAgcDriverAgrSubmitDcb(const Packet* packet) { (void)packet; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAgcVsh/Export.cpp b/core/libs/prx/libSceAgcVsh/Export.cpp index 3c38b1e2d..054a95d99 100644 --- a/core/libs/prx/libSceAgcVsh/Export.cpp +++ b/core/libs/prx/libSceAgcVsh/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -10,10 +11,12 @@ uint32_t* sceAgcAcbAcquireMem(CommandBuffer* buf, uint32_t gcr_cntl, const volat (void)base; (void)size_bytes; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcAcbAcquireMemGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,10 +24,12 @@ uint32_t* sceAgcAcbCondExec(CommandBuffer* buf, const volatile uint32_t* address (void)buf; (void)address; (void)num_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcAcbCondExecGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -38,6 +43,7 @@ uint32_t* sceAgcAcbCopyData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_p (void)src_address_or_immediate; (void)item_size; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -45,6 +51,7 @@ uint32_t* sceAgcAcbDispatchIndirect(CommandBuffer* buf, const volatile void* ind (void)buf; (void)indirect_args; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -59,6 +66,7 @@ uint32_t* sceAgcAcbDmaData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_po (void)num_bytes; (void)wait_for_previous; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -66,15 +74,18 @@ uint32_t* sceAgcAcbEventWrite(CommandBuffer* buf, uint8_t event_type, const vola (void)buf; (void)event_type; (void)address; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcAcbJumpGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcAcbPopMarker(CommandBuffer* buf) { (void)buf; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -82,12 +93,14 @@ uint32_t* sceAgcAcbPushMarker(CommandBuffer* buf, const char* str, uint32_t colo (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcAcbResetQueue(CommandBuffer* buf, uint32_t op) { (void)buf; (void)op; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -95,6 +108,7 @@ uint32_t* sceAgcAcbSetMarker(CommandBuffer* buf, const char* str, uint32_t color (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -107,6 +121,7 @@ uint32_t* sceAgcAcbWaitRegMem(CommandBuffer* buf, uint8_t size, uint8_t compare_ (void)reference; (void)mask; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -119,6 +134,7 @@ uint32_t* sceAgcAcbWriteData(CommandBuffer* buf, uint8_t dst, uint8_t cache_poli (void)num_dwords; (void)increment; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -135,6 +151,7 @@ uint32_t* sceAgcCbBranch(CommandBuffer* buf, uint8_t mode, uint8_t compare_funct (void)cache_policy2; (void)buffer2; (void)size_in_dwords2; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -144,25 +161,30 @@ uint32_t* sceAgcCbDispatch(CommandBuffer* buf, uint32_t thread_group_x, uint32_t (void)thread_group_y; (void)thread_group_z; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcCbDispatchGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcCbNop_nid_postfix(CommandBuffer* buf, uint32_t size_in_dwords) { (void)buf; (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcCbNopGetSize(uint32_t size_in_dwords) { (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcCbQueueEndOfPipeActionGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -179,6 +201,7 @@ uint32_t* sceAgcCbReleaseMem(CommandBuffer* buf, uint8_t action, uint16_t gcr_cn (void)gds_size; (void)interrupt; (void)interrupt_ctx_id; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -187,11 +210,13 @@ uint32_t* sceAgcCbSetShRegisterRangeDirect(CommandBuffer* buf, uint32_t offset, (void)offset; (void)values; (void)num_values; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcCbSetShRegisterRangeDirectGetSize(uint32_t num_values) { (void)num_values; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -199,18 +224,21 @@ uint32_t* sceAgcCbSetShRegistersDirect(CommandBuffer* buf, const volatile Shader (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceAgcCondExecPatchSetCommandAddress(uint32_t* cmd, const volatile uint32_t* command) { (void)cmd; (void)command; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcCondExecPatchSetEnd(uint32_t* cmd, const volatile uint32_t* buffer) { (void)cmd; (void)buffer; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -218,6 +246,7 @@ int sceAgcCreateInterpolantMapping(ShaderRegister* regs, const Shader* gs, const (void)regs; (void)gs; (void)ps; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -227,6 +256,7 @@ int sceAgcCreatePrimState(ShaderRegister* cx_regs, ShaderRegister* uc_regs, cons (void)hs; (void)gs; (void)prim_type; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -234,6 +264,7 @@ int sceAgcCreateShader(Shader** dst, void* header, const volatile void* code) { (void)dst; (void)header; (void)code; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -245,10 +276,12 @@ uint32_t* sceAgcDcbAcquireMem(CommandBuffer* buf, uint8_t engine, uint32_t cb_db (void)base; (void)size_bytes; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbAcquireMemGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -256,21 +289,25 @@ uint32_t* sceAgcDcbCondExec(CommandBuffer* buf, const volatile uint32_t* address (void)buf; (void)address; (void)num_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbCondExecGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcDcbContextStateOp(CommandBuffer* buf, uint32_t operation) { (void)buf; (void)operation; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint64_t sceAgcDcbContextStateOpGetSize(uint32_t operation) { (void)operation; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -284,6 +321,7 @@ uint32_t* sceAgcDcbCopyData(CommandBuffer* buf, uint8_t dst, uint8_t dst_cache_p (void)src_address_or_immediate; (void)item_size; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -291,10 +329,12 @@ uint32_t* sceAgcDcbDispatchIndirect(CommandBuffer* buf, uint32_t data_offset_in_ (void)buf; (void)data_offset_in_bytes; (void)flags; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDispatchIndirectGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -311,6 +351,7 @@ uint32_t* sceAgcDcbDmaData(CommandBuffer* buf, uint8_t engine, uint8_t dst, uint (void)wait_for_previous; (void)write_confirm; (void)block_engine; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -319,6 +360,7 @@ uint32_t* sceAgcDcbDrawIndex(CommandBuffer* buf, uint32_t index_count, const vol (void)index_count; (void)index_addr; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -326,14 +368,17 @@ uint32_t* sceAgcDcbDrawIndexAuto(CommandBuffer* buf, uint32_t index_count, uint6 (void)buf; (void)index_count; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndexAutoGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcDcbDrawIndexGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -341,6 +386,7 @@ uint32_t* sceAgcDcbDrawIndexIndirect(CommandBuffer* buf, uint32_t data_offset_in (void)buf; (void)data_offset_in_bytes; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -352,6 +398,7 @@ uint32_t* sceAgcDcbDrawIndexIndirectMulti(CommandBuffer* buf, uint32_t data_offs (void)count_addr; (void)stride_in_bytes; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -362,10 +409,12 @@ uint32_t* sceAgcDcbDrawIndexMultiInstanced(CommandBuffer* buf, uint32_t index_co (void)object_ids; (void)instance_count; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndexMultiInstancedGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -374,10 +423,12 @@ uint32_t* sceAgcDcbDrawIndexOffset(CommandBuffer* buf, uint32_t index_offset, ui (void)index_offset; (void)index_count; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndexOffsetGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -385,10 +436,12 @@ uint32_t* sceAgcDcbDrawIndirect(CommandBuffer* buf, uint32_t data_offset_in_byte (void)buf; (void)data_offset_in_bytes; (void)modifier; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbDrawIndirectGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -396,6 +449,7 @@ uint32_t* sceAgcDcbEventWrite(CommandBuffer* buf, uint8_t event_type, const vola (void)buf; (void)event_type; (void)address; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -408,6 +462,7 @@ uint32_t* sceAgcDcbGetLodStats(CommandBuffer* buf, uint8_t cache_policy, const v (void)force_reset; (void)report_and_reset; (void)reporting_interval_in_100k_clocks; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -417,15 +472,18 @@ uint32_t* sceAgcDcbJump(CommandBuffer* buf, uint8_t mode, uint8_t cache_policy, (void)cache_policy; (void)target; (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbJumpGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t* sceAgcDcbPopMarker(CommandBuffer* buf) { (void)buf; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -433,6 +491,7 @@ uint32_t* sceAgcDcbPushMarker(CommandBuffer* buf, const char* str, uint32_t colo (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -440,16 +499,19 @@ uint32_t* sceAgcDcbResetQueue(CommandBuffer* buf, uint32_t op, uint32_t state) { (void)buf; (void)op; (void)state; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbRewind(CommandBuffer* buf, uint32_t initial_state) { (void)buf; (void)initial_state; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbRewindGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -457,16 +519,19 @@ uint32_t* sceAgcDcbSetBaseIndirectArgs(CommandBuffer* buf, uint32_t shader_type, (void)buf; (void)shader_type; (void)indirect_base_addr; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetCxRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { (void)buf; (void)reg; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbSetCxRegisterDirectGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -474,6 +539,7 @@ uint32_t* sceAgcDcbSetCxRegistersIndirect(CommandBuffer* buf, const volatile Sha (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -483,18 +549,21 @@ uint32_t* sceAgcDcbSetFlip(CommandBuffer* buf, uint32_t video_out_handle, int32_ (void)display_buffer_index; (void)flip_mode; (void)flip_arg; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetIndexBuffer(CommandBuffer* buf, uint64_t index_addr) { (void)buf; (void)index_addr; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetIndexCount(CommandBuffer* buf, uint32_t index_count) { (void)buf; (void)index_count; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -502,6 +571,7 @@ uint32_t* sceAgcDcbSetIndexSize(CommandBuffer* buf, uint8_t index_size, uint8_t (void)buf; (void)index_size; (void)cache_policy; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -509,16 +579,19 @@ uint32_t* sceAgcDcbSetMarker(CommandBuffer* buf, const char* str, uint32_t color (void)buf; (void)str; (void)color; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetNumInstances(CommandBuffer* buf, uint32_t num_instances) { (void)buf; (void)num_instances; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbSetNumInstancesGetSize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -529,12 +602,14 @@ uint32_t* sceAgcDcbSetPredication(CommandBuffer* buf, uint8_t condition, uint8_t (void)wait_op; (void)address; (void)count_in_dwords; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetShRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { (void)buf; (void)reg; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -542,12 +617,14 @@ uint32_t* sceAgcDcbSetShRegistersIndirect(CommandBuffer* buf, const volatile Sha (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbSetUcRegisterDirect(CommandBuffer* buf, ShaderRegister reg) { (void)buf; (void)reg; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -555,6 +632,7 @@ uint32_t* sceAgcDcbSetUcRegistersIndirect(CommandBuffer* buf, const volatile Sha (void)buf; (void)regs; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -562,6 +640,7 @@ uint32_t* sceAgcDcbSetWorkloadComplete(CommandBuffer* buf, uint32_t stream_id, u (void)buf; (void)stream_id; (void)workload_id; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -570,16 +649,19 @@ uint32_t* sceAgcDcbSetWorkloadsActive(CommandBuffer* buf, uint32_t stream_id, co (void)stream_id; (void)workload_ids; (void)workload_count; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t* sceAgcDcbStallCommandBufferParser(CommandBuffer* buf) { (void)buf; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbWaitOnAddressGetSize(uint32_t size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -593,6 +675,7 @@ uint32_t* sceAgcDcbWaitRegMem(CommandBuffer* buf, uint8_t size, uint8_t compare_ (void)reference; (void)mask; (void)poll_cycles; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -600,6 +683,7 @@ uint32_t* sceAgcDcbWaitUntilSafeForRendering(CommandBuffer* buf, uint32_t video_ (void)buf; (void)video_out_handle; (void)display_buffer_index; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -612,23 +696,27 @@ uint32_t* sceAgcDcbWriteData(CommandBuffer* buf, uint8_t dst, uint8_t cache_poli (void)num_dwords; (void)increment; (void)write_confirm; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint32_t sceAgcDcbWriteDataGetSize(uint32_t num_dwords) { (void)num_dwords; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDmaDataPatchSetDstAddressOrOffset(uint32_t* cmd, uint64_t dst_address_or_offset) { (void)cmd; (void)dst_address_or_offset; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcDmaDataPatchSetSrcAddressOrOffsetOrImmediate(uint32_t* cmd, uint64_t src_address_or_offset_or_immediate) { (void)cmd; (void)src_address_or_offset_or_immediate; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -636,27 +724,32 @@ int sceAgcGetDataPacketPayloadAddress(uint32_t** addr, uint32_t* cmd, int type) (void)addr; (void)cmd; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceAgcGetPacketSize(uint32_t* packet) { (void)packet; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceAgcGetRegisterDefaults2(uint32_t ver) { (void)ver; + NotImplemented_nid_no_patch(__func__); return nullptr; } void* sceAgcGetRegisterDefaults2Internal(uint32_t ver) { (void)ver; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceAgcInit_nid_postfix(uint32_t* state, uint32_t ver) { (void)state; (void)ver; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -664,12 +757,14 @@ int sceAgcJumpPatchSetTarget(uint32_t* cmd, const volatile uint32_t* target, uin (void)cmd; (void)target; (void)size_in_dwords; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcQueueEndOfPipeActionPatchAddress(uint32_t* cmd, const volatile Label* address) { (void)cmd; (void)address; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -678,36 +773,42 @@ int sceAgcQueueEndOfPipeActionPatchData(uint32_t* cmd, uint32_t context_id, uint (void)context_id; (void)data_sel; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcRewindPatchSetRewindState(uint32_t* cmd, uint8_t state) { (void)cmd; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetCxRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetCxRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { (void)cmd; (void)regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetCxRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetPacketPredication(uint32_t* packet, uint32_t predication) { (void)packet; (void)predication; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -715,46 +816,54 @@ int sceAgcSetRangePredication(uint32_t* start, const volatile uint32_t* end, uin (void)start; (void)end; (void)predication; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetShRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetShRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { (void)cmd; (void)regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetShRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetUcRegIndirectPatchAddRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetUcRegIndirectPatchSetAddress(uint32_t* cmd, const volatile ShaderRegister* regs) { (void)cmd; (void)regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSetUcRegIndirectPatchSetNumRegisters(uint32_t* cmd, uint32_t num_regs) { (void)cmd; (void)num_regs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcSuspendPoint(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -762,18 +871,21 @@ int sceAgcUpdatePrimState(ShaderRegister* cx_regs, ShaderRegister* uc_regs, uint (void)cx_regs; (void)uc_regs; (void)prim_type; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcWaitRegMemPatchAddress(uint32_t* cmd, const volatile void* address) { (void)cmd; (void)address; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAgcWaitRegMemPatchReference(uint32_t* cmd, uint64_t reference) { (void)cmd; (void)reference; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAjm.native/Export.cpp b/core/libs/prx/libSceAjm.native/Export.cpp index d7138159e..4b806ded3 100644 --- a/core/libs/prx/libSceAjm.native/Export.cpp +++ b/core/libs/prx/libSceAjm.native/Export.cpp @@ -1,18 +1,21 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAjmBatchCancel(uint32_t context, uint32_t batch) { (void)context; (void)batch; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmBatchErrorDump(const AjmBatchInfo* info, AjmBatchError* error) { (void)info; (void)error; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -20,6 +23,7 @@ int sceAjmBatchInitialize(void* buffer, size_t size, AjmBatchInfo* info) { (void)buffer; (void)size; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -27,6 +31,7 @@ int sceAjmBatchJobClearContext(AjmBatchInfo* info, uint32_t instance, void* resu (void)info; (void)instance; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -38,6 +43,7 @@ int sceAjmBatchJobControl(AjmBatchInfo* info, uint32_t instance, uint64_t flags, (void)sideband_input_size; (void)sideband_output; (void)sideband_output_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -49,6 +55,7 @@ int sceAjmBatchJobDecode(AjmBatchInfo* info, uint32_t instance, const void* bits (void)pcm_output; (void)pcm_output_size; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -60,6 +67,7 @@ int sceAjmBatchJobDecodeSingle(AjmBatchInfo* info, uint32_t instance, const void (void)pcm_output; (void)pcm_output_size; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -71,6 +79,7 @@ int sceAjmBatchJobDecodeSplit(AjmBatchInfo* info, uint32_t instance, const AjmBu (void)output_buffers; (void)output_buffers_num; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -82,6 +91,7 @@ int sceAjmBatchJobEncode(AjmBatchInfo* info, uint32_t instance, const void* pcm_ (void)bitstream_output; (void)bitstream_output_size; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -90,6 +100,7 @@ int sceAjmBatchJobGetCodecInfo(AjmBatchInfo* info, uint32_t instance, void* resu (void)instance; (void)result; (void)result_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -97,6 +108,7 @@ int sceAjmBatchJobGetGaplessDecode(AjmBatchInfo* info, uint32_t instance, void* (void)info; (void)instance; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -104,6 +116,7 @@ int sceAjmBatchJobGetInfo(AjmBatchInfo* info, uint32_t instance, void* result) { (void)info; (void)instance; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -111,6 +124,7 @@ int sceAjmBatchJobGetResampleInfo(AjmBatchInfo* info, uint32_t instance, void* r (void)info; (void)instance; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -118,6 +132,7 @@ int sceAjmBatchJobGetStatistics(AjmBatchInfo* info, float interval, void* result (void)info; (void)interval; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -127,6 +142,7 @@ int sceAjmBatchJobInitialize(AjmBatchInfo* info, uint32_t instance, const void* (void)codec_parameters; (void)codec_parameters_size; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -140,6 +156,7 @@ int sceAjmBatchJobRun(AjmBatchInfo* info, uint32_t instance, uint64_t flags, con (void)data_output_size; (void)sideband_output; (void)sideband_output_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -153,6 +170,7 @@ int sceAjmBatchJobRunSplit(AjmBatchInfo* info, uint32_t instance, uint64_t flags (void)output_buffers_num; (void)sideband_output; (void)sideband_output_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -162,6 +180,7 @@ int sceAjmBatchJobSetGaplessDecode(AjmBatchInfo* info, uint32_t instance, const (void)gapless_decode; (void)reset; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -171,6 +190,7 @@ int sceAjmBatchJobSetResampleParameters(AjmBatchInfo* info, uint32_t instance, f (void)ratio; (void)flags; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -181,6 +201,7 @@ int sceAjmBatchJobSetResampleParametersEx(AjmBatchInfo* info, uint32_t instance, (void)ratio_change_per_sample; (void)flags; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -190,6 +211,7 @@ int sceAjmBatchStart(uint32_t context, const AjmBatchInfo* info, int priority, A (void)priority; (void)error; (void)batch; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -198,23 +220,27 @@ int sceAjmBatchWait(uint32_t context, uint32_t batch, uint32_t timeout, AjmBatch (void)batch; (void)timeout; (void)error; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmDecAt9ParseConfigData(const void* config_data, AjmDecAt9ConfigDataInfo* config_info) { (void)config_data; (void)config_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmFinalize(uint32_t context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmInitialize(int64_t reserved, uint32_t* context) { (void)reserved; (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -223,12 +249,14 @@ int sceAjmInstanceCreate(uint32_t context, uint32_t codec, uint64_t flags, uint3 (void)codec; (void)flags; (void)instance; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmInstanceDestroy(uint32_t context, uint32_t instance) { (void)context; (void)instance; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -236,12 +264,14 @@ int sceAjmMemoryRegister(uint32_t context, void* ptr, size_t pages) { (void)context; (void)ptr; (void)pages; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmMemoryUnregister(uint32_t context, void* ptr) { (void)context; (void)ptr; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -249,17 +279,20 @@ int sceAjmModuleRegister(uint32_t context, uint32_t codec, int64_t reserved) { (void)context; (void)codec; (void)reserved; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmModuleUnregister(uint32_t context, uint32_t codec) { (void)context; (void)codec; + NotImplemented_nid_no_patch(__func__); return 0; } const char* sceAjmStrError(int error) { (void)error; + NotImplemented_nid_no_patch(__func__); return nullptr; } diff --git a/core/libs/prx/libSceAjm/Export.cpp b/core/libs/prx/libSceAjm/Export.cpp index 04c335774..d21c14a67 100644 --- a/core/libs/prx/libSceAjm/Export.cpp +++ b/core/libs/prx/libSceAjm/Export.cpp @@ -1,18 +1,21 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAjmBatchCancel(uint32_t context, uint32_t batch) { (void)context; (void)batch; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmBatchErrorDump(const AjmBatchInfo* info, AjmBatchError* error) { (void)info; (void)error; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,23 +24,27 @@ int sceAjmBatchWait(uint32_t context, uint32_t batch, uint32_t timeout, AjmBatch (void)batch; (void)timeout; (void)error; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmDecAt9ParseConfigData(const void* config_data, AjmDecAt9ConfigDataInfo* config_info) { (void)config_data; (void)config_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmFinalize(uint32_t context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmInitialize(int64_t reserved, uint32_t* context) { (void)reserved; (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -46,12 +53,14 @@ int sceAjmInstanceCreate(uint32_t context, uint32_t codec, uint64_t flags, uint3 (void)codec; (void)flags; (void)instance; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmInstanceDestroy(uint32_t context, uint32_t instance) { (void)context; (void)instance; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -59,12 +68,14 @@ int sceAjmMemoryRegister(uint32_t context, void* ptr, size_t pages) { (void)context; (void)ptr; (void)pages; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmMemoryUnregister(uint32_t context, void* ptr) { (void)context; (void)ptr; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -72,17 +83,20 @@ int sceAjmModuleRegister(uint32_t context, uint32_t codec, int64_t reserved) { (void)context; (void)codec; (void)reserved; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmModuleUnregister(uint32_t context, uint32_t codec) { (void)context; (void)codec; + NotImplemented_nid_no_patch(__func__); return 0; } const char* sceAjmStrError(int error) { (void)error; + NotImplemented_nid_no_patch(__func__); return nullptr; } diff --git a/core/libs/prx/libSceAjmi/Export.cpp b/core/libs/prx/libSceAjmi/Export.cpp index 04c335774..d21c14a67 100644 --- a/core/libs/prx/libSceAjmi/Export.cpp +++ b/core/libs/prx/libSceAjmi/Export.cpp @@ -1,18 +1,21 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAjmBatchCancel(uint32_t context, uint32_t batch) { (void)context; (void)batch; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmBatchErrorDump(const AjmBatchInfo* info, AjmBatchError* error) { (void)info; (void)error; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,23 +24,27 @@ int sceAjmBatchWait(uint32_t context, uint32_t batch, uint32_t timeout, AjmBatch (void)batch; (void)timeout; (void)error; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmDecAt9ParseConfigData(const void* config_data, AjmDecAt9ConfigDataInfo* config_info) { (void)config_data; (void)config_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmFinalize(uint32_t context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmInitialize(int64_t reserved, uint32_t* context) { (void)reserved; (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -46,12 +53,14 @@ int sceAjmInstanceCreate(uint32_t context, uint32_t codec, uint64_t flags, uint3 (void)codec; (void)flags; (void)instance; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmInstanceDestroy(uint32_t context, uint32_t instance) { (void)context; (void)instance; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -59,12 +68,14 @@ int sceAjmMemoryRegister(uint32_t context, void* ptr, size_t pages) { (void)context; (void)ptr; (void)pages; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmMemoryUnregister(uint32_t context, void* ptr) { (void)context; (void)ptr; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -72,17 +83,20 @@ int sceAjmModuleRegister(uint32_t context, uint32_t codec, int64_t reserved) { (void)context; (void)codec; (void)reserved; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAjmModuleUnregister(uint32_t context, uint32_t codec) { (void)context; (void)codec; + NotImplemented_nid_no_patch(__func__); return 0; } const char* sceAjmStrError(int error) { (void)error; + NotImplemented_nid_no_patch(__func__); return nullptr; } diff --git a/core/libs/prx/libSceAppContent/Export.cpp b/core/libs/prx/libSceAppContent/Export.cpp index faf6d1471..245dd7500 100644 --- a/core/libs/prx/libSceAppContent/Export.cpp +++ b/core/libs/prx/libSceAppContent/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,46 +9,54 @@ int sceAppContentAddcontMount(uint32_t service_label, const NpUnifiedEntitlement (void)service_label; (void)entitlement_label; (void)mount_point; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentAddcontUnmount(const AppContentMountPoint* mount_point) { (void)mount_point; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentAppParamGetInt(uint32_t param_id, int32_t* value) { (void)param_id; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentDownloadDataGetAvailableSpaceKb(const AppContentMountPoint* mount_point, size_t* available_space_kb) { (void)mount_point; (void)available_space_kb; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentInitialize(const AppContentInitParam* init_param, AppContentBootParam* boot_param) { (void)init_param; (void)boot_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentTemporaryDataFormat(const AppContentMountPoint* mount_point) { (void)mount_point; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentTemporaryDataGetAvailableSpaceKb(const AppContentMountPoint* mount_point, size_t* available_space_kb) { (void)mount_point; (void)available_space_kb; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAppContentTemporaryDataMount2(uint32_t option, AppContentMountPoint* mount_point) { (void)option; (void)mount_point; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudio/Export.cpp b/core/libs/prx/libSceAudio/Export.cpp index 0eb2b2072..7fee43d11 100644 --- a/core/libs/prx/libSceAudio/Export.cpp +++ b/core/libs/prx/libSceAudio/Export.cpp @@ -1,29 +1,37 @@ #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { using SceAudioOutPortId = std::int32_t; -std::int32_t sceAudioOutInit(void) { return 0; } +std::int32_t sceAudioOutInit(void) { + NotImplemented_nid_no_patch(__func__); + return 0; +} SceAudioOutPortId sceAudioOutOpen(std::int32_t userId, std::int32_t type, std::int32_t index, std::uint32_t len, std::uint32_t freq, std::uint32_t param) { (void)userId; (void)type; (void)index; (void)len; (void)freq; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } std::int32_t sceAudioOutOutput(SceAudioOutPortId handle, const void* ptr) { (void)handle; (void)ptr; + NotImplemented_nid_no_patch(__func__); return 0; } std::int32_t sceAudioOutSetVolume(SceAudioOutPortId handle, std::int32_t flag, std::int32_t* vol) { (void)handle; (void)flag; (void)vol; + NotImplemented_nid_no_patch(__func__); return 0; } std::int32_t sceAudioOutClose(SceAudioOutPortId handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudio3d/Export.cpp b/core/libs/prx/libSceAudio3d/Export.cpp index 829b7c8f5..1c0c634b2 100644 --- a/core/libs/prx/libSceAudio3d/Export.cpp +++ b/core/libs/prx/libSceAudio3d/Export.cpp @@ -1,20 +1,24 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { void sceAudio3dGetDefaultOpenParameters(Audio3dOpenParameters* p) { (void)p; + NotImplemented_nid_no_patch(__func__); } int sceAudio3dInitialize(int64_t reserved) { (void)reserved; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudio3dPortAdvance(uint32_t port_id) { (void)port_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -22,6 +26,7 @@ int sceAudio3dPortGetQueueLevel(uint32_t port_id, uint32_t* queue_level, uint32_ (void)port_id; (void)queue_level; (void)queue_available; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -29,12 +34,14 @@ int sceAudio3dPortOpen(int user_id, const Audio3dOpenParameters* parameters, uin (void)user_id; (void)parameters; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudio3dPortPush(uint32_t port_id, uint32_t blocking) { (void)port_id; (void)blocking; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -43,6 +50,7 @@ int sceAudio3dPortSetAttribute(uint32_t port_id, uint32_t attribute_id, const vo (void)attribute_id; (void)attribute; (void)attribute_size; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudioIn/Export.cpp b/core/libs/prx/libSceAudioIn/Export.cpp index e69870da5..f3f0d9dd8 100644 --- a/core/libs/prx/libSceAudioIn/Export.cpp +++ b/core/libs/prx/libSceAudioIn/Export.cpp @@ -1,17 +1,20 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAudioInGetSilentState(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioInInput(int handle, void* dest) { (void)handle; (void)dest; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -22,6 +25,7 @@ int sceAudioInOpen(int user_id, uint32_t type, uint32_t index, uint32_t len, uin (void)len; (void)freq; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudioOut/Export.cpp b/core/libs/prx/libSceAudioOut/Export.cpp index ca12cf612..df493b13c 100644 --- a/core/libs/prx/libSceAudioOut/Export.cpp +++ b/core/libs/prx/libSceAudioOut/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAudioOut2ContextAdvance(AudioOut2ContextHandle ctx) { (void)ctx; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,11 +16,13 @@ int sceAudioOut2ContextCreate(const AudioOut2ContextParam* params, void* buffer, (void)buffer; (void)buffer_size; (void)ctx; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2ContextDestroy(AudioOut2ContextHandle ctx) { (void)ctx; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -26,23 +30,27 @@ int sceAudioOut2ContextGetQueueLevel(AudioOut2ContextHandle ctx, uint32_t* queue (void)ctx; (void)queue_level; (void)available_queues; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2ContextPush(AudioOut2ContextHandle ctx, uint32_t blocking) { (void)ctx; (void)blocking; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2ContextQueryMemory(const AudioOut2ContextParam* params, size_t* memory_size) { (void)params; (void)memory_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2ContextResetParam(AudioOut2ContextParam* params) { (void)params; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -50,6 +58,7 @@ int sceAudioOut2ContextSetAttributes(AudioOut2ContextHandle ctx, const AudioOut2 (void)ctx; (void)attributes; (void)num; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -58,6 +67,7 @@ int sceAudioOut2GetSpeakerArrayAmbisonicsCoefficients(AudioOut2SpeakerArrayHandl (void)ambisonics_channel; (void)coefficients; (void)num_coefficients; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -69,6 +79,7 @@ int sceAudioOut2GetSpeakerArrayCoefficients(AudioOut2SpeakerArrayHandle handle, (void)num_coefficients; (void)height_aware; (void)downmix_spread_radius; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -76,21 +87,25 @@ size_t sceAudioOut2GetSpeakerArrayMemorySize(uint32_t num_speakers, uint8_t is_3 (void)num_speakers; (void)is_3d; (void)is_ambisonics; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2GetSpeakerInfo(AudioOut2SpeakerInfo* info, uint32_t flags) { (void)info; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2GetSystemState(AudioOut2SystemState* state) { (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2Initialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -98,11 +113,13 @@ int sceAudioOut2MasteringGetState(AudioOut2MasteringStatesHeader* state, uint32_ (void)state; (void)output; (void)user; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2MasteringInit(uint32_t flags) { (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -110,10 +127,12 @@ int sceAudioOut2MasteringSetParam(const AudioOut2MasteringParamsHeader* param, u (void)param; (void)output; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2MasteringTerm(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -121,17 +140,20 @@ int sceAudioOut2PortCreate(AudioOut2ContextHandle ctx, const AudioOut2PortParam* (void)ctx; (void)params; (void)port; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2PortDestroy(AudioOut2PortHandle port) { (void)port; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2PortGetState(AudioOut2PortHandle port, AudioOut2PortState* state) { (void)port; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -139,11 +161,13 @@ int sceAudioOut2PortSetAttributes(AudioOut2PortHandle port, const AudioOut2Attri (void)port; (void)attributes; (void)num; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2SetSystemDebugState(const AudioOut2SystemDebugStateParam* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -151,37 +175,44 @@ int sceAudioOut2SpeakerArrayCreate(AudioOut2SpeakerArrayHandle* handle, const vo (void)handle; (void)vbap_params; (void)ambi_params; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2SpeakerArrayDestroy(AudioOut2SpeakerArrayHandle handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2UserCreate(uint32_t user_id, AudioOut2UserHandle* handle) { (void)user_id; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOut2UserDestroy(AudioOut2UserHandle handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOutClose(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOutGetPortState(int handle, AudioOutPortState* state) { (void)handle; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOutInit(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -192,18 +223,21 @@ int sceAudioOutOpen(int user_id, int type, int index, uint32_t len, uint32_t fre (void)len; (void)freq; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOutOutput(int handle, const void* ptr) { (void)handle; (void)ptr; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAudioOutOutputs(AudioOutOutputParam* param, uint32_t num) { (void)param; (void)num; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -211,6 +245,7 @@ int sceAudioOutSetVolume(int handle, uint32_t flag, int* vol) { (void)handle; (void)flag; (void)vol; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudioPropagation/Export.cpp b/core/libs/prx/libSceAudioPropagation/Export.cpp index 3764e5b10..fc95b5880 100644 --- a/core/libs/prx/libSceAudioPropagation/Export.cpp +++ b/core/libs/prx/libSceAudioPropagation/Export.cpp @@ -1,12 +1,14 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int32_t sceAudioPropagationRoomCreate(AudioPropagationHandle system_handle, AudioPropagationHandle* out_room_handle) { (void)system_handle; (void)out_room_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,6 +16,7 @@ int32_t sceAudioPropagationSystemCreate(const void* options, AudioPropagationSys (void)options; (void)memory; (void)out_system_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,12 +24,14 @@ int32_t sceAudioPropagationSystemGetRays(AudioPropagationHandle system_handle, v (void)system_handle; (void)rays; (void)num_rays; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudioPropagationSystemQueryMemory(const void* options, AudioPropagationSystemMemory* out_memory) { (void)options; (void)out_memory; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -34,6 +39,7 @@ int32_t sceAudioPropagationSystemRegisterMaterial(AudioPropagationHandle system_ (void)system_handle; (void)material; (void)out_material_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -41,6 +47,7 @@ int32_t sceAudioPropagationSystemSetAttributes(AudioPropagationHandle system_han (void)system_handle; (void)attributes; (void)num_attributes; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudiodec.native/Export.cpp b/core/libs/prx/libSceAudiodec.native/Export.cpp index 388cda8f3..962378b45 100644 --- a/core/libs/prx/libSceAudiodec.native/Export.cpp +++ b/core/libs/prx/libSceAudiodec.native/Export.cpp @@ -1,38 +1,45 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int32_t sceAudiodecClearContext(int32_t handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecCreateDecoder(AudiodecCtrl* ctrl, uint32_t codec_type) { (void)ctrl; (void)codec_type; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecDecode(int32_t handle, AudiodecCtrl* ctrl) { (void)handle; (void)ctrl; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecDeleteDecoder(int32_t handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecInitLibrary(uint32_t codec_type) { (void)codec_type; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecTermLibrary(uint32_t codec_type) { (void)codec_type; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAudiodec/Export.cpp b/core/libs/prx/libSceAudiodec/Export.cpp index 388cda8f3..962378b45 100644 --- a/core/libs/prx/libSceAudiodec/Export.cpp +++ b/core/libs/prx/libSceAudiodec/Export.cpp @@ -1,38 +1,45 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int32_t sceAudiodecClearContext(int32_t handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecCreateDecoder(AudiodecCtrl* ctrl, uint32_t codec_type) { (void)ctrl; (void)codec_type; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecDecode(int32_t handle, AudiodecCtrl* ctrl) { (void)handle; (void)ctrl; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecDeleteDecoder(int32_t handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecInitLibrary(uint32_t codec_type) { (void)codec_type; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceAudiodecTermLibrary(uint32_t codec_type) { (void)codec_type; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAvPlayer.native/Export.cpp b/core/libs/prx/libSceAvPlayer.native/Export.cpp index 77145800f..deb0f709e 100644 --- a/core/libs/prx/libSceAvPlayer.native/Export.cpp +++ b/core/libs/prx/libSceAvPlayer.native/Export.cpp @@ -1,12 +1,14 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAvPlayerAddSource(AvPlayerInternal* h, const char* filename) { (void)h; (void)filename; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,6 +16,7 @@ int sceAvPlayerAddSourceEx(AvPlayerInternal* h, uint32_t uri_type, const void* s (void)h; (void)uri_type; (void)source_details; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,34 +24,40 @@ int sceAvPlayerChangeStream(AvPlayerInternal* h, uint32_t old_stream_id, uint32_ (void)h; (void)old_stream_id; (void)new_stream_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerClose(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceAvPlayerCurrentTime(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerDisableStream(AvPlayerInternal* h, uint32_t stream_id) { (void)h; (void)stream_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerEnableStream(AvPlayerInternal* h, uint32_t stream_id) { (void)h; (void)stream_id; + NotImplemented_nid_no_patch(__func__); return 0; } Bool sceAvPlayerGetAudioData(AvPlayerInternal* h, AvPlayerFrameInfo* audio_info) { (void)h; (void)audio_info; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -56,6 +65,7 @@ int sceAvPlayerGetStreamInfo(AvPlayerInternal* h, uint32_t stream_id, void* info (void)h; (void)stream_id; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -63,50 +73,59 @@ int sceAvPlayerGetStreamInfoEx(AvPlayerInternal* h, uint32_t stream_id, void* in (void)h; (void)stream_id; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } Bool sceAvPlayerGetVideoDataEx(AvPlayerInternal* h, AvPlayerFrameInfoEx* video_info) { (void)h; (void)video_info; + NotImplemented_nid_no_patch(__func__); return {}; } AvPlayerInternal* sceAvPlayerInit(AvPlayerInitData* init) { (void)init; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceAvPlayerInitEx(const void* init_ex, AvPlayerInternal** handle) { (void)init_ex; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } Bool sceAvPlayerIsActive(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return {}; } int sceAvPlayerJumpToTime(AvPlayerInternal* h, uint64_t time_ms) { (void)h; (void)time_ms; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerPause(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerPostInit(AvPlayerInternal* h, const void* post_init) { (void)h; (void)post_init; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerResume(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -115,51 +134,60 @@ int sceAvPlayerSetAvailableBandwidth(AvPlayerInternal* h, uint32_t start_bandwid (void)start_bandwidth; (void)minimum_bandwidth; (void)maximum_bandwidth; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetAvSyncMode(AvPlayerInternal* h, uint32_t sync_mode) { (void)h; (void)sync_mode; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetLogCallback(void* callback, void* user_data) { (void)callback; (void)user_data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetLooping(AvPlayerInternal* h, Bool loop) { (void)h; (void)loop; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetTrickSpeed(AvPlayerInternal* h, int32_t trick_speed) { (void)h; (void)trick_speed; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStart(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStartEx(AvPlayerInternal* h, const void* start_info_ex) { (void)h; (void)start_info_ex; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStop(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStreamCount(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceAvPlayer/Export.cpp b/core/libs/prx/libSceAvPlayer/Export.cpp index a6240f81e..f02ac3f9b 100644 --- a/core/libs/prx/libSceAvPlayer/Export.cpp +++ b/core/libs/prx/libSceAvPlayer/Export.cpp @@ -1,12 +1,14 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceAvPlayerAddSource(AvPlayerInternal* h, const char* filename) { (void)h; (void)filename; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,6 +16,7 @@ int sceAvPlayerAddSourceEx(AvPlayerInternal* h, uint32_t uri_type, const void* s (void)h; (void)uri_type; (void)source_details; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,34 +24,40 @@ int sceAvPlayerChangeStream(AvPlayerInternal* h, uint32_t old_stream_id, uint32_ (void)h; (void)old_stream_id; (void)new_stream_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerClose(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceAvPlayerCurrentTime(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerDisableStream(AvPlayerInternal* h, uint32_t stream_id) { (void)h; (void)stream_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerEnableStream(AvPlayerInternal* h, uint32_t stream_id) { (void)h; (void)stream_id; + NotImplemented_nid_no_patch(__func__); return 0; } Bool sceAvPlayerGetAudioData(AvPlayerInternal* h, AvPlayerFrameInfo* audio_info) { (void)h; (void)audio_info; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -56,95 +65,112 @@ int sceAvPlayerGetStreamInfo(AvPlayerInternal* h, uint32_t stream_id, void* info (void)h; (void)stream_id; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } Bool sceAvPlayerGetVideoData(AvPlayerInternal* h, AvPlayerFrameInfo* video_info) { (void)h; (void)video_info; + NotImplemented_nid_no_patch(__func__); return {}; } Bool sceAvPlayerGetVideoDataEx(AvPlayerInternal* h, AvPlayerFrameInfoEx* video_info) { (void)h; (void)video_info; + NotImplemented_nid_no_patch(__func__); return {}; } AvPlayerInternal* sceAvPlayerInit(AvPlayerInitData* init) { (void)init; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceAvPlayerInitEx(const void* init_ex, AvPlayerInternal** handle) { (void)init_ex; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } Bool sceAvPlayerIsActive(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return {}; } int sceAvPlayerJumpToTime(AvPlayerInternal* h, uint64_t time_ms) { (void)h; (void)time_ms; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerPause(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerPostInit(AvPlayerInternal* h, const void* post_init) { (void)h; (void)post_init; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerResume(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetAvSyncMode(AvPlayerInternal* h, uint32_t sync_mode) { (void)h; (void)sync_mode; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetLogCallback(void* callback, void* user_data) { (void)callback; (void)user_data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetLooping(AvPlayerInternal* h, Bool loop) { (void)h; (void)loop; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerSetTrickSpeed(AvPlayerInternal* h, int32_t trick_speed) { (void)h; (void)trick_speed; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStart(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStop(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceAvPlayerStreamCount(AvPlayerInternal* h) { (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceCesCs/Export.cpp b/core/libs/prx/libSceCesCs/Export.cpp index 6a47655b7..5e64ff51b 100644 --- a/core/libs/prx/libSceCesCs/Export.cpp +++ b/core/libs/prx/libSceCesCs/Export.cpp @@ -1,10 +1,12 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { const uint8_t* sceCesRefersUcsProfileCp1252(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -14,6 +16,7 @@ int sceCesSbcToUtf8(const uint8_t* profile, uint8_t sbc, uint8_t* utf8, uint32_t (void)utf8; (void)utf8max; (void)utf8_len; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -23,6 +26,7 @@ int sceCesUtf8ToSbc(const uint8_t* utf8, uint32_t utf8max, uint32_t* utf8_len, c (void)utf8_len; (void)profile; (void)sbc; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceCommonDialog/Export.cpp b/core/libs/prx/libSceCommonDialog/Export.cpp index 10342c22c..d6109fd5e 100644 --- a/core/libs/prx/libSceCommonDialog/Export.cpp +++ b/core/libs/prx/libSceCommonDialog/Export.cpp @@ -1,14 +1,17 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceCommonDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } bool sceCommonDialogIsUsed(void) { + NotImplemented_nid_no_patch(__func__); return false; } diff --git a/core/libs/prx/libSceContentDelete/Export.cpp b/core/libs/prx/libSceContentDelete/Export.cpp index 09c0307af..7df9123ad 100644 --- a/core/libs/prx/libSceContentDelete/Export.cpp +++ b/core/libs/prx/libSceContentDelete/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceContentDeleteInitialize(const ContentDeleteInitParam* init_param) { (void)init_param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceContentExport/Export.cpp b/core/libs/prx/libSceContentExport/Export.cpp index 40d4467bd..92cea46d8 100644 --- a/core/libs/prx/libSceContentExport/Export.cpp +++ b/core/libs/prx/libSceContentExport/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceContentExportInit2(const ContentExportInitParam2* init_param) { (void)init_param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceContentSearch/Export.cpp b/core/libs/prx/libSceContentSearch/Export.cpp index 598334408..8ad3c1707 100644 --- a/core/libs/prx/libSceContentSearch/Export.cpp +++ b/core/libs/prx/libSceContentSearch/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceContentSearchInit(const ContentSearchInitParam* init_param) { (void)init_param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceErrorDialog/Export.cpp b/core/libs/prx/libSceErrorDialog/Export.cpp index f987be55c..d2f4ca3a8 100644 --- a/core/libs/prx/libSceErrorDialog/Export.cpp +++ b/core/libs/prx/libSceErrorDialog/Export.cpp @@ -1,31 +1,38 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceErrorDialogClose(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceErrorDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceErrorDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceErrorDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceErrorDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceErrorDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceFiber/Export.cpp b/core/libs/prx/libSceFiber/Export.cpp index d3c6e1e76..176750056 100644 --- a/core/libs/prx/libSceFiber/Export.cpp +++ b/core/libs/prx/libSceFiber/Export.cpp @@ -1,44 +1,52 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int32_t sceFiberFinalize(FiberObject* fiber) { (void)fiber; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberGetInfo(FiberObject* fiber, FiberInfo* fiber_info) { (void)fiber; (void)fiber_info; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberGetSelf(FiberObject** fiber) { (void)fiber; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberGetThreadFramePointerAddress(uint64_t* addr_frame_pointer) { (void)addr_frame_pointer; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberOptParamInitialize(FiberOptParam* opt_param) { (void)opt_param; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberRename(FiberObject* fiber, const char* name) { (void)fiber; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberReturnToThread(uint64_t arg_on_return, uint64_t* arg_on_run) { (void)arg_on_return; (void)arg_on_run; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -46,15 +54,18 @@ int32_t sceFiberRun_nid_postfix(FiberObject* fiber, uint64_t arg_on_run, uint64_ (void)fiber; (void)arg_on_run; (void)arg_on_return; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberStartContextSizeCheck(uint32_t flags) { (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceFiberStopContextSizeCheck(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -62,6 +73,7 @@ int32_t sceFiberSwitch(FiberObject* fiber, uint64_t arg_on_run, uint64_t* arg_on (void)fiber; (void)arg_on_run; (void)arg_on_return; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceFont.native/Export.cpp b/core/libs/prx/libSceFont.native/Export.cpp index df78c5098..612be5d66 100644 --- a/core/libs/prx/libSceFont.native/Export.cpp +++ b/core/libs/prx/libSceFont.native/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,24 +9,28 @@ int sceFontAttachDeviceCacheBuffer(FontLibrary library, void* buffer, uint32_t s (void)library; (void)buffer; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontBindRenderer(FontHandle font_handle, FontRenderer renderer) { (void)font_handle; (void)renderer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontCharacterGetBidiLevel(FontTextCharacter text_character, int* bidi_level) { (void)text_character; (void)bidi_level; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontCharacterGetSyllableStringState(FontTextCharacter text_character, int* syllable_string_state) { (void)text_character; (void)syllable_string_state; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -33,32 +38,38 @@ int sceFontCharacterGetTextFontCode(FontTextCharacter text_character, FontHandle (void)text_character; (void)font_handle; (void)text_code; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontCharacterGetTextOrder(FontTextCharacter text_character, void** text_order) { (void)text_character; (void)text_order; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceFontCharacterLooksFormatCharacters(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceFontCharacterLooksWhiteSpace(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return 0; } FontTextCharacter sceFontCharacterRefersTextBack(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return {}; } FontTextCharacter sceFontCharacterRefersTextNext(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -66,11 +77,13 @@ FontTextCodes* sceFontCharactersRefersTextCodes(FontTextCharacter text_character (void)text_character; (void)term_character; (void)text_codes; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceFontCloseFont(FontHandle font_handle) { (void)font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -78,6 +91,7 @@ int sceFontCreateLibrary(const FontMemory* memory, FontLibrarySelection selectio (void)memory; (void)selection; (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -86,6 +100,7 @@ int sceFontCreateLibraryWithEdition(const FontMemory* memory, FontLibrarySelecti (void)selection; (void)edition; (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -94,6 +109,7 @@ int sceFontCreateRendererWithEdition(const FontMemory* memory, FontRendererSelec (void)selection; (void)edition; (void)renderer; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -102,6 +118,7 @@ int sceFontCreateString(const FontMemory* memory, FontTextSource* font_text_sour (void)font_text_source; (void)string_detail; (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -110,6 +127,7 @@ int sceFontCreateWritingLine(const FontMemory* memory, int writing_form, const v (void)writing_form; (void)writing_line_detail; (void)writing_line; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -117,32 +135,38 @@ int sceFontDefineAttribute(FontHandle font_handle, int attribute, int* old_attri (void)font_handle; (void)attribute; (void)old_attribute; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDeleteGlyph(const FontMemory* memory, void** font_glyph) { (void)memory; (void)font_glyph; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyLibrary(FontLibrary* library) { (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyRenderer(FontRenderer* renderer) { (void)renderer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyString(FontString* font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyWritingLine(FontWritingLine* writing_line) { (void)writing_line; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -151,6 +175,7 @@ int sceFontGenerateCharGlyph(FontHandle font_handle, uint32_t code, const FontGe (void)code; (void)detail; (void)font_glyph; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -158,12 +183,14 @@ int sceFontGetCharGlyphMetrics(FontHandle font_handle, uint32_t code, FontGlyphM (void)font_handle; (void)code; (void)metrics; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontGetHorizontalLayout(FontHandle font_handle, FontHorizontalLayout* layout) { (void)font_handle; (void)layout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -171,12 +198,14 @@ int sceFontGetRenderCharGlyphMetrics(FontHandle font_handle, uint32_t code, Font (void)font_handle; (void)code; (void)metrics; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontGetVerticalLayout(FontHandle font_handle, FontVerticalLayout* layout) { (void)font_handle; (void)layout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -184,6 +213,7 @@ int sceFontGlyphDefineAttribute(void* font_glyph, int attribute, int* old_attrib (void)font_glyph; (void)attribute; (void)old_attribute; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -195,11 +225,13 @@ int sceFontMemoryInit(FontMemory* font_memory, void* address, uint32_t size_byte (void)mspace_object; (void)destroy_callback; (void)destroy_object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontMemoryTerm(FontMemory* font_memory) { (void)font_memory; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -207,6 +239,7 @@ int sceFontOpenFontInstance(FontHandle font_handle, void* setup_font, FontHandle (void)font_handle; (void)setup_font; (void)out_font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -216,6 +249,7 @@ int sceFontOpenFontMemory(FontLibrary library, const void* font_address, uint32_ (void)font_size; (void)detail; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -225,11 +259,13 @@ int sceFontOpenFontSet(FontLibrary library, uint32_t font_set_type, uint32_t ope (void)open_mode; (void)detail; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontRebindRenderer(FontHandle font_handle) { (void)font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -241,6 +277,7 @@ int sceFontRenderCharGlyphImageHorizontal(FontHandle font_handle, uint32_t code, (void)y; (void)metrics; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -251,6 +288,7 @@ void sceFontRenderSurfaceInit(FontRenderSurface* surf, void* buffer, int buf_wid (void)pixel_size_byte; (void)width; (void)height; + NotImplemented_nid_no_patch(__func__); } void sceFontRenderSurfaceSetScissor(FontRenderSurface* surf, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1) { @@ -259,11 +297,13 @@ void sceFontRenderSurfaceSetScissor(FontRenderSurface* surf, uint32_t x0, uint32 (void)y0; (void)x1; (void)y1; + NotImplemented_nid_no_patch(__func__); } int sceFontSetEffectSlant(FontHandle font_handle, float slant_ratio) { (void)font_handle; (void)slant_ratio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -272,6 +312,7 @@ int sceFontSetEffectWeight(FontHandle font_handle, float weight_x_scale, float w (void)weight_x_scale; (void)weight_y_scale; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -279,12 +320,14 @@ int sceFontSetScalePixel(FontHandle font_handle, float w, float h) { (void)font_handle; (void)w; (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontSetupRenderEffectSlant(FontHandle font_handle, float slant_ratio) { (void)font_handle; (void)slant_ratio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -293,6 +336,7 @@ int sceFontSetupRenderEffectWeight(FontHandle font_handle, float weight_x_scale, (void)weight_x_scale; (void)weight_y_scale; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -300,21 +344,25 @@ int sceFontSetupRenderScalePixel(FontHandle font_handle, float w, float h) { (void)font_handle; (void)w; (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceFontStringGetTerminateCode(FontString font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceFontStringGetTerminateOrder(FontString font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceFontStringGetWritingForm(FontString font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -323,12 +371,14 @@ FontRenderCharacter sceFontStringRefersRenderCharacters(FontString font_string, (void)start_character; (void)last_character; (void)character_count; + NotImplemented_nid_no_patch(__func__); return {}; } FontTextCharacter sceFontStringRefersTextCharacters(FontString font_string, uint32_t* character_count) { (void)font_string; (void)character_count; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -336,21 +386,25 @@ int sceFontSupportExternalFonts(FontLibrary library, uint32_t font_max, uint32_t (void)library; (void)font_max; (void)formats; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontSupportSystemFonts(FontLibrary library) { (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } FontTextCodes* sceFontTextCodesStepBack(FontTextCodes* text_codes_step) { (void)text_codes_step; + NotImplemented_nid_no_patch(__func__); return nullptr; } FontTextCodes* sceFontTextCodesStepNext(FontTextCodes* text_codes_step) { (void)text_codes_step; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -360,34 +414,40 @@ int sceFontTextSourceInit(FontTextSource* font_text_source, const void* text_add (void)text_size_byte; (void)text_parser; (void)text_object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontTextSourceRewind(FontTextSource* font_text_source) { (void)font_text_source; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontTextSourceSetDefaultFont(FontTextSource* font_text_source, FontHandle default_font) { (void)font_text_source; (void)default_font; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontTextSourceSetWritingForm(FontTextSource* font_text_source, int writing_form) { (void)font_text_source; (void)writing_form; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontUnbindRenderer(FontHandle font_handle) { (void)font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontWritingGetRenderMetrics(FontWriting* font_writing, FontWritingMetrics* writing_metrics) { (void)font_writing; (void)writing_metrics; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -395,11 +455,13 @@ int sceFontWritingInit(FontWriting* font_writing, FontString font_string, FontRe (void)font_writing; (void)font_string; (void)font_character; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontWritingLineClear(FontWritingLine writing_line) { (void)writing_line; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -409,17 +471,20 @@ int sceFontWritingLineGetOrderingSpace(FontWritingLine writing_line, float* head (void)inline_space; (void)tail_space; (void)advance_space; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontWritingLineGetRenderMetrics(FontWritingLine writing_line, FontWritingMetrics* writing_metrics) { (void)writing_line; (void)writing_metrics; + NotImplemented_nid_no_patch(__func__); return 0; } FontWritingLineStep* sceFontWritingLineRefersRenderStep(FontWritingLine writing_line) { (void)writing_line; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -428,23 +493,27 @@ int sceFontWritingLineWritesOrder(FontWritingLine writing_line, uint64_t writing (void)writing_attribute; (void)writing_metrics; (void)writing_orderer; + NotImplemented_nid_no_patch(__func__); return 0; } const FontWritingStep* sceFontWritingRefersRenderStep(FontWriting* font_writing) { (void)font_writing; + NotImplemented_nid_no_patch(__func__); return nullptr; } FontTextCharacter sceFontWritingRefersRenderStepCharacter(FontWriting* font_writing, const void** letter_step) { (void)font_writing; (void)letter_step; + NotImplemented_nid_no_patch(__func__); return {}; } int sceFontWritingSetMaskInvisible(FontWriting* font_writing, int mask) { (void)font_writing; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceFont/Export.cpp b/core/libs/prx/libSceFont/Export.cpp index df78c5098..612be5d66 100644 --- a/core/libs/prx/libSceFont/Export.cpp +++ b/core/libs/prx/libSceFont/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,24 +9,28 @@ int sceFontAttachDeviceCacheBuffer(FontLibrary library, void* buffer, uint32_t s (void)library; (void)buffer; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontBindRenderer(FontHandle font_handle, FontRenderer renderer) { (void)font_handle; (void)renderer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontCharacterGetBidiLevel(FontTextCharacter text_character, int* bidi_level) { (void)text_character; (void)bidi_level; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontCharacterGetSyllableStringState(FontTextCharacter text_character, int* syllable_string_state) { (void)text_character; (void)syllable_string_state; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -33,32 +38,38 @@ int sceFontCharacterGetTextFontCode(FontTextCharacter text_character, FontHandle (void)text_character; (void)font_handle; (void)text_code; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontCharacterGetTextOrder(FontTextCharacter text_character, void** text_order) { (void)text_character; (void)text_order; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceFontCharacterLooksFormatCharacters(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceFontCharacterLooksWhiteSpace(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return 0; } FontTextCharacter sceFontCharacterRefersTextBack(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return {}; } FontTextCharacter sceFontCharacterRefersTextNext(FontTextCharacter text_character) { (void)text_character; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -66,11 +77,13 @@ FontTextCodes* sceFontCharactersRefersTextCodes(FontTextCharacter text_character (void)text_character; (void)term_character; (void)text_codes; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceFontCloseFont(FontHandle font_handle) { (void)font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -78,6 +91,7 @@ int sceFontCreateLibrary(const FontMemory* memory, FontLibrarySelection selectio (void)memory; (void)selection; (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -86,6 +100,7 @@ int sceFontCreateLibraryWithEdition(const FontMemory* memory, FontLibrarySelecti (void)selection; (void)edition; (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -94,6 +109,7 @@ int sceFontCreateRendererWithEdition(const FontMemory* memory, FontRendererSelec (void)selection; (void)edition; (void)renderer; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -102,6 +118,7 @@ int sceFontCreateString(const FontMemory* memory, FontTextSource* font_text_sour (void)font_text_source; (void)string_detail; (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -110,6 +127,7 @@ int sceFontCreateWritingLine(const FontMemory* memory, int writing_form, const v (void)writing_form; (void)writing_line_detail; (void)writing_line; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -117,32 +135,38 @@ int sceFontDefineAttribute(FontHandle font_handle, int attribute, int* old_attri (void)font_handle; (void)attribute; (void)old_attribute; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDeleteGlyph(const FontMemory* memory, void** font_glyph) { (void)memory; (void)font_glyph; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyLibrary(FontLibrary* library) { (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyRenderer(FontRenderer* renderer) { (void)renderer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyString(FontString* font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontDestroyWritingLine(FontWritingLine* writing_line) { (void)writing_line; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -151,6 +175,7 @@ int sceFontGenerateCharGlyph(FontHandle font_handle, uint32_t code, const FontGe (void)code; (void)detail; (void)font_glyph; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -158,12 +183,14 @@ int sceFontGetCharGlyphMetrics(FontHandle font_handle, uint32_t code, FontGlyphM (void)font_handle; (void)code; (void)metrics; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontGetHorizontalLayout(FontHandle font_handle, FontHorizontalLayout* layout) { (void)font_handle; (void)layout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -171,12 +198,14 @@ int sceFontGetRenderCharGlyphMetrics(FontHandle font_handle, uint32_t code, Font (void)font_handle; (void)code; (void)metrics; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontGetVerticalLayout(FontHandle font_handle, FontVerticalLayout* layout) { (void)font_handle; (void)layout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -184,6 +213,7 @@ int sceFontGlyphDefineAttribute(void* font_glyph, int attribute, int* old_attrib (void)font_glyph; (void)attribute; (void)old_attribute; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -195,11 +225,13 @@ int sceFontMemoryInit(FontMemory* font_memory, void* address, uint32_t size_byte (void)mspace_object; (void)destroy_callback; (void)destroy_object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontMemoryTerm(FontMemory* font_memory) { (void)font_memory; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -207,6 +239,7 @@ int sceFontOpenFontInstance(FontHandle font_handle, void* setup_font, FontHandle (void)font_handle; (void)setup_font; (void)out_font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -216,6 +249,7 @@ int sceFontOpenFontMemory(FontLibrary library, const void* font_address, uint32_ (void)font_size; (void)detail; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -225,11 +259,13 @@ int sceFontOpenFontSet(FontLibrary library, uint32_t font_set_type, uint32_t ope (void)open_mode; (void)detail; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontRebindRenderer(FontHandle font_handle) { (void)font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -241,6 +277,7 @@ int sceFontRenderCharGlyphImageHorizontal(FontHandle font_handle, uint32_t code, (void)y; (void)metrics; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -251,6 +288,7 @@ void sceFontRenderSurfaceInit(FontRenderSurface* surf, void* buffer, int buf_wid (void)pixel_size_byte; (void)width; (void)height; + NotImplemented_nid_no_patch(__func__); } void sceFontRenderSurfaceSetScissor(FontRenderSurface* surf, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1) { @@ -259,11 +297,13 @@ void sceFontRenderSurfaceSetScissor(FontRenderSurface* surf, uint32_t x0, uint32 (void)y0; (void)x1; (void)y1; + NotImplemented_nid_no_patch(__func__); } int sceFontSetEffectSlant(FontHandle font_handle, float slant_ratio) { (void)font_handle; (void)slant_ratio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -272,6 +312,7 @@ int sceFontSetEffectWeight(FontHandle font_handle, float weight_x_scale, float w (void)weight_x_scale; (void)weight_y_scale; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -279,12 +320,14 @@ int sceFontSetScalePixel(FontHandle font_handle, float w, float h) { (void)font_handle; (void)w; (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontSetupRenderEffectSlant(FontHandle font_handle, float slant_ratio) { (void)font_handle; (void)slant_ratio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -293,6 +336,7 @@ int sceFontSetupRenderEffectWeight(FontHandle font_handle, float weight_x_scale, (void)weight_x_scale; (void)weight_y_scale; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -300,21 +344,25 @@ int sceFontSetupRenderScalePixel(FontHandle font_handle, float w, float h) { (void)font_handle; (void)w; (void)h; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceFontStringGetTerminateCode(FontString font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceFontStringGetTerminateOrder(FontString font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceFontStringGetWritingForm(FontString font_string) { (void)font_string; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -323,12 +371,14 @@ FontRenderCharacter sceFontStringRefersRenderCharacters(FontString font_string, (void)start_character; (void)last_character; (void)character_count; + NotImplemented_nid_no_patch(__func__); return {}; } FontTextCharacter sceFontStringRefersTextCharacters(FontString font_string, uint32_t* character_count) { (void)font_string; (void)character_count; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -336,21 +386,25 @@ int sceFontSupportExternalFonts(FontLibrary library, uint32_t font_max, uint32_t (void)library; (void)font_max; (void)formats; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontSupportSystemFonts(FontLibrary library) { (void)library; + NotImplemented_nid_no_patch(__func__); return 0; } FontTextCodes* sceFontTextCodesStepBack(FontTextCodes* text_codes_step) { (void)text_codes_step; + NotImplemented_nid_no_patch(__func__); return nullptr; } FontTextCodes* sceFontTextCodesStepNext(FontTextCodes* text_codes_step) { (void)text_codes_step; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -360,34 +414,40 @@ int sceFontTextSourceInit(FontTextSource* font_text_source, const void* text_add (void)text_size_byte; (void)text_parser; (void)text_object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontTextSourceRewind(FontTextSource* font_text_source) { (void)font_text_source; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontTextSourceSetDefaultFont(FontTextSource* font_text_source, FontHandle default_font) { (void)font_text_source; (void)default_font; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontTextSourceSetWritingForm(FontTextSource* font_text_source, int writing_form) { (void)font_text_source; (void)writing_form; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontUnbindRenderer(FontHandle font_handle) { (void)font_handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontWritingGetRenderMetrics(FontWriting* font_writing, FontWritingMetrics* writing_metrics) { (void)font_writing; (void)writing_metrics; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -395,11 +455,13 @@ int sceFontWritingInit(FontWriting* font_writing, FontString font_string, FontRe (void)font_writing; (void)font_string; (void)font_character; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontWritingLineClear(FontWritingLine writing_line) { (void)writing_line; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -409,17 +471,20 @@ int sceFontWritingLineGetOrderingSpace(FontWritingLine writing_line, float* head (void)inline_space; (void)tail_space; (void)advance_space; + NotImplemented_nid_no_patch(__func__); return 0; } int sceFontWritingLineGetRenderMetrics(FontWritingLine writing_line, FontWritingMetrics* writing_metrics) { (void)writing_line; (void)writing_metrics; + NotImplemented_nid_no_patch(__func__); return 0; } FontWritingLineStep* sceFontWritingLineRefersRenderStep(FontWritingLine writing_line) { (void)writing_line; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -428,23 +493,27 @@ int sceFontWritingLineWritesOrder(FontWritingLine writing_line, uint64_t writing (void)writing_attribute; (void)writing_metrics; (void)writing_orderer; + NotImplemented_nid_no_patch(__func__); return 0; } const FontWritingStep* sceFontWritingRefersRenderStep(FontWriting* font_writing) { (void)font_writing; + NotImplemented_nid_no_patch(__func__); return nullptr; } FontTextCharacter sceFontWritingRefersRenderStepCharacter(FontWriting* font_writing, const void** letter_step) { (void)font_writing; (void)letter_step; + NotImplemented_nid_no_patch(__func__); return {}; } int sceFontWritingSetMaskInvisible(FontWriting* font_writing, int mask) { (void)font_writing; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceFontFt/Export.cpp b/core/libs/prx/libSceFontFt/Export.cpp index 8960cb3c1..c0858f603 100644 --- a/core/libs/prx/libSceFontFt/Export.cpp +++ b/core/libs/prx/libSceFontFt/Export.cpp @@ -1,16 +1,19 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { void* sceFontSelectLibraryFt(int value) { (void)value; + NotImplemented_nid_no_patch(__func__); return nullptr; } void* sceFontSelectRendererFt(int value) { (void)value; + NotImplemented_nid_no_patch(__func__); return nullptr; } diff --git a/core/libs/prx/libSceGameLiveStreaming/Export.cpp b/core/libs/prx/libSceGameLiveStreaming/Export.cpp index de3407c34..0ac4cfe94 100644 --- a/core/libs/prx/libSceGameLiveStreaming/Export.cpp +++ b/core/libs/prx/libSceGameLiveStreaming/Export.cpp @@ -1,15 +1,18 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceGameLiveStreamingInitialize(size_t heap_size) { (void)heap_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceGameLiveStreamingTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceGameUpdate/Export.cpp b/core/libs/prx/libSceGameUpdate/Export.cpp index 92772950e..fad45bf2d 100644 --- a/core/libs/prx/libSceGameUpdate/Export.cpp +++ b/core/libs/prx/libSceGameUpdate/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceGameUpdateAbortRequest(int request_id) { (void)request_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -13,15 +15,18 @@ int sceGameUpdateCheck(int request_id, const GameUpdateCheckParam* param, GameUp (void)request_id; (void)param; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceGameUpdateCreateRequest(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceGameUpdateDeleteRequest(int request_id) { (void)request_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -29,14 +34,17 @@ int sceGameUpdateGetAddcontLatestVersion(uint32_t service_label, const void* ent (void)service_label; (void)entitlement_label; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceGameUpdateInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceGameUpdateTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceHttp/Export.cpp b/core/libs/prx/libSceHttp/Export.cpp index 706b9d5c9..5cc0a461e 100644 --- a/core/libs/prx/libSceHttp/Export.cpp +++ b/core/libs/prx/libSceHttp/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceHttpAbortRequest(int request_id) { (void)request_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,6 +16,7 @@ int sceHttpAddRequestHeader(int id, const char* name, const char* value, uint32_ (void)name; (void)value; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -23,6 +26,7 @@ int sceHttpCreateConnection(int tmpl_id, const char* server_name, const char* sc (void)scheme; (void)port; (void)enable_keep_alive; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -30,12 +34,14 @@ int sceHttpCreateConnectionWithURL(int tmpl_id, const char* url, int enable_keep (void)tmpl_id; (void)url; (void)enable_keep_alive; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpCreateEpoll(int http_ctx_id, HttpEpollHandle* eh) { (void)http_ctx_id; (void)eh; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -44,6 +50,7 @@ int sceHttpCreateRequest(int conn_id, int method, const char* path, uint64_t con (void)method; (void)path; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -52,6 +59,7 @@ int sceHttpCreateRequestWithURL2(int conn_id, const char* method, const char* ur (void)method; (void)url; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -60,27 +68,32 @@ int sceHttpCreateTemplate(int http_ctx_id, const char* user_agent, int http_ver, (void)user_agent; (void)http_ver; (void)is_auto_proxy_conf; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpDeleteConnection(int conn_id) { (void)conn_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpDeleteRequest(int req_id) { (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpDeleteTemplate(int tmpl_id) { (void)tmpl_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpDestroyEpoll(int http_ctx_id, HttpEpollHandle eh) { (void)http_ctx_id; (void)eh; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -88,6 +101,7 @@ int sceHttpGetAllResponseHeaders(int request_id, char** header, size_t* header_s (void)request_id; (void)header; (void)header_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -95,12 +109,14 @@ int sceHttpGetResponseContentLength(int request_id, int* result, uint64_t* conte (void)request_id; (void)result; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpGetStatusCode(int request_id, int* status_code) { (void)request_id; (void)status_code; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -108,12 +124,14 @@ int sceHttpInit_nid_postfix(int memid, int ssl_ctx_id, uint64_t pool_size) { (void)memid; (void)ssl_ctx_id; (void)pool_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpsDisableOption(int id, uint32_t ssl_flags) { (void)id; (void)ssl_flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -121,24 +139,28 @@ int sceHttpSendRequest(int request_id, const void* post_data, size_t size) { (void)request_id; (void)post_data; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetAuthEnabled(int id, int enable) { (void)id; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetAutoRedirect(int id, int enable) { (void)id; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetConnectTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -146,48 +168,56 @@ int sceHttpSetEpoll(int id, HttpEpollHandle eh, void* user_arg) { (void)id; (void)eh; (void)user_arg; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetNonblock(int id, int enable) { (void)id; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetRecvTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetRequestContentLength(int request_id, uint64_t content_length) { (void)request_id; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetResolveRetry(int id, int32_t retry) { (void)id; (void)retry; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetResolveTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpSetSendTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpsSetMinSslVersion(int id, uint32_t ssl_version) { (void)id; (void)ssl_version; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -195,16 +225,19 @@ int sceHttpsSetSslCallback(int id, HttpsCallback cbfunc, void* user_arg) { (void)id; (void)cbfunc; (void)user_arg; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpTerm_nid_postfix(int http_ctx_id) { (void)http_ctx_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttpUnsetEpoll(int id) { (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -214,6 +247,7 @@ int sceHttpUriBuild(char* out, size_t* require, size_t prepare, const SceHttpUri (void)prepare; (void)src_element; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -222,6 +256,7 @@ int sceHttpUriEscape(char* out, size_t* require, size_t prepare, const char* in) (void)require; (void)prepare; (void)in; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -231,6 +266,7 @@ int sceHttpUriParse(SceHttpUriElement* out, const char* src_url, void* pool, siz (void)pool; (void)require; (void)prepare; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -239,6 +275,7 @@ int sceHttpWaitRequest(HttpEpollHandle eh, HttpNBEvent* nbev, int maxevents, int (void)nbev; (void)maxevents; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceHttp2/Export.cpp b/core/libs/prx/libSceHttp2/Export.cpp index a05762fa8..d67decd3d 100644 --- a/core/libs/prx/libSceHttp2/Export.cpp +++ b/core/libs/prx/libSceHttp2/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -9,6 +10,7 @@ int sceHttp2AddRequestHeader(int id, const char* name, const char* value, uint32 (void)name; (void)value; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -17,6 +19,7 @@ int sceHttp2CreateRequestWithURL(int tmpl_id, const char* method, const char* ur (void)method; (void)url; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -26,16 +29,19 @@ int sceHttp2CreateTemplate(int lib_http2_ctx_id, const char* user_agent, int htt (void)http_ver; (void)is_auto_proxy_conf; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2DeleteRequest(int req_id) { (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2DeleteTemplate(int tmpl_id) { (void)tmpl_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -43,6 +49,7 @@ int sceHttp2GetAllResponseHeaders(int req_id, char** header, size_t* header_size (void)req_id; (void)header; (void)header_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -50,12 +57,14 @@ int sceHttp2GetResponseContentLength(int req_id, int* result, uint64_t* content_ (void)req_id; (void)result; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2GetStatusCode(int req_id, int* status_code) { (void)req_id; (void)status_code; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -64,6 +73,7 @@ int sceHttp2Init(int libnet_mem_id, int libssl_ctx_id, size_t pool_size, int max (void)libssl_ctx_id; (void)pool_size; (void)max_concurrent_request; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -71,6 +81,7 @@ int sceHttp2ReadData(int req_id, void* data, size_t size) { (void)req_id; (void)data; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -80,6 +91,7 @@ int sceHttp2ReadDataAsync(int req_id, void* data, size_t size, void* kqueue_opti (void)size; (void)kqueue_option; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -87,6 +99,7 @@ int sceHttp2SendRequest(int req_id, const void* post_data, size_t size) { (void)req_id; (void)post_data; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -96,42 +109,49 @@ int sceHttp2SendRequestAsync(int req_id, const void* post_data, size_t size, voi (void)size; (void)kqueue_option; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetAuthEnabled(int id, int is_enable) { (void)id; (void)is_enable; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetAutoRedirect(int id, int enable) { (void)id; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetConnectionWaitTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetConnectTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetInflateGZIPEnabled(int id, int enable) { (void)id; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetRecvTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -139,24 +159,28 @@ int sceHttp2SetRedirectCallback(int id, void* cb_func, void* user_arg) { (void)id; (void)cb_func; (void)user_arg; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetRequestContentLength(int id, uint64_t content_length) { (void)id; (void)content_length; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetResolveTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetSendTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -164,29 +188,34 @@ int sceHttp2SetSslCallback(int id, void* cb_func, void* user_arg) { (void)id; (void)cb_func; (void)user_arg; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SetTimeOut(int id, uint32_t usec) { (void)id; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SslDisableOption(int id, uint32_t ssl_flags) { (void)id; (void)ssl_flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2SslEnableOption(int id, uint32_t ssl_flags) { (void)id; (void)ssl_flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceHttp2Term(int lib_http2_ctx_id) { (void)lib_http2_ctx_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -195,6 +224,7 @@ int sceHttp2WaitAsync(int req_id, Http2AsyncResult* result, uint32_t* timeout, v (void)result; (void)timeout; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceIme/Export.cpp b/core/libs/prx/libSceIme/Export.cpp index 63b2d35a2..9aef75b3e 100644 --- a/core/libs/prx/libSceIme/Export.cpp +++ b/core/libs/prx/libSceIme/Export.cpp @@ -1,10 +1,12 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceImeClose_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -12,67 +14,79 @@ int sceImeGetPanelSize(const Param* param, uint32_t* width, uint32_t* height) { (void)param; (void)width; (void)height; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeKeyboardClose(int32_t user_id) { (void)user_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeKeyboardGetInfo(uint32_t resource_id, KeyboardInfo* info) { (void)resource_id; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeKeyboardGetResourceId(int32_t user_id, KeyboardResourceIdArray* resource_ids) { (void)user_id; (void)resource_ids; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeKeyboardOpen(int32_t user_id, const KeyboardParam* param) { (void)user_id; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeKeyboardSetMode(int32_t user_id, uint32_t mode) { (void)user_id; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeOpen_nid_postfix(const Param* param, const ExtendedParam* extended) { (void)param; (void)extended; + NotImplemented_nid_no_patch(__func__); return 0; } void sceImeParamInit(Param* param) { (void)param; + NotImplemented_nid_no_patch(__func__); } int sceImeSetCaret(const Caret* caret) { (void)caret; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeSetText(const char16_t* text, uint32_t length) { (void)text; (void)length; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeSetTextGeometry(TextAreaMode mode, const TextGeometry* geometry) { (void)mode; (void)geometry; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeUpdate(EventHandler handler) { (void)handler; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceImeBackend/Export.cpp b/core/libs/prx/libSceImeBackend/Export.cpp index bcadb5a79..28d44ccb8 100644 --- a/core/libs/prx/libSceImeBackend/Export.cpp +++ b/core/libs/prx/libSceImeBackend/Export.cpp @@ -1 +1,2 @@ #include "prx/libSceIme/Export.cpp" +#include "prx/libc/include/General.hpp" diff --git a/core/libs/prx/libSceImeDialog/Export.cpp b/core/libs/prx/libSceImeDialog/Export.cpp index df411c356..7d22dba81 100644 --- a/core/libs/prx/libSceImeDialog/Export.cpp +++ b/core/libs/prx/libSceImeDialog/Export.cpp @@ -1,15 +1,18 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceImeDialogAbort(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeDialogGetPanelPositionAndForm(PositionAndForm* form) { (void)form; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -17,6 +20,7 @@ int sceImeDialogGetPanelSize(const Param* param, uint32_t* width, uint32_t* heig (void)param; (void)width; (void)height; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -25,25 +29,30 @@ int sceImeDialogGetPanelSizeExtended(const Param* param, const ExtendedParam* ex (void)extended; (void)width; (void)height; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeDialogGetResult(Result* result) { (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeDialogInit(const Param* param, const ExtendedParam* extended) { (void)param; (void)extended; + NotImplemented_nid_no_patch(__func__); return 0; } int sceImeDialogTerm(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceKeyboard/Export.cpp b/core/libs/prx/libSceKeyboard/Export.cpp index 0c2a4a45d..df93036b8 100644 --- a/core/libs/prx/libSceKeyboard/Export.cpp +++ b/core/libs/prx/libSceKeyboard/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceKeyboardClose(int32_t handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -16,10 +18,12 @@ int sceKeyboardGetKey2Char(int32_t handle, int32_t arrange, uint32_t led, uint32 (void)modifier_key; (void)key_code; (void)char_data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKeyboardInit(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -28,6 +32,7 @@ int sceKeyboardOpen(int user_id, int32_t type, int32_t index, const void* param) (void)type; (void)index; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -35,12 +40,14 @@ int sceKeyboardRead(int32_t handle, KeyboardData* data, int32_t num) { (void)handle; (void)data; (void)num; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKeyboardReadState(int32_t handle, KeyboardData* data) { (void)handle; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceLibcInternal/Export.cpp b/core/libs/prx/libSceLibcInternal/Export.cpp index 0cd24675c..5f12bc5a7 100644 --- a/core/libs/prx/libSceLibcInternal/Export.cpp +++ b/core/libs/prx/libSceLibcInternal/Export.cpp @@ -1,12 +1,14 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { void sceLibcHeapGetTraceInfo_nid_postfix(Info* info) { (void)info; + NotImplemented_nid_no_patch(__func__); } } diff --git a/core/libs/prx/libSceLoginDialog/Export.cpp b/core/libs/prx/libSceLoginDialog/Export.cpp index 43dcbbd8d..13cdc937f 100644 --- a/core/libs/prx/libSceLoginDialog/Export.cpp +++ b/core/libs/prx/libSceLoginDialog/Export.cpp @@ -1,36 +1,44 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceLoginDialogClose(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceLoginDialogGetResult(void* result) { (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceLoginDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceLoginDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceLoginDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceLoginDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceLoginDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceMouse/Export.cpp b/core/libs/prx/libSceMouse/Export.cpp index a49cbfe5a..d2eec76fb 100644 --- a/core/libs/prx/libSceMouse/Export.cpp +++ b/core/libs/prx/libSceMouse/Export.cpp @@ -1,15 +1,18 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceMouseClose(int32_t handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceMouseInit(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -18,6 +21,7 @@ int sceMouseOpen(int user_id, int32_t type, int32_t index, const void* param) { (void)type; (void)index; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -25,6 +29,7 @@ int sceMouseRead(int32_t handle, MouseData* data, int32_t num) { (void)handle; (void)data; (void)num; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceMsgDialog/Export.cpp b/core/libs/prx/libSceMsgDialog/Export.cpp index 70653772f..91a8a69b5 100644 --- a/core/libs/prx/libSceMsgDialog/Export.cpp +++ b/core/libs/prx/libSceMsgDialog/Export.cpp @@ -1,54 +1,65 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceMsgDialogClose(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogGetResult(void* result) { (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogProgressBarInc(int target, uint32_t delta) { (void)target; (void)delta; + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogProgressBarSetMsg(int target, const char* msg) { (void)target; (void)msg; + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogProgressBarSetValue(int target, uint32_t rate) { (void)target; (void)rate; + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceMsgDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNet/Export.cpp b/core/libs/prx/libSceNet/Export.cpp index c1c296be3..6f11e6763 100644 --- a/core/libs/prx/libSceNet/Export.cpp +++ b/core/libs/prx/libSceNet/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int sceNetAccept(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -15,6 +17,7 @@ int sceNetBind_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -23,17 +26,20 @@ int sceNetEpollControl(int eid, int op, int id, const NetEpollEvent* event) { (void)op; (void)id; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetEpollCreate(const char* name, int flags) { (void)name; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetEpollDestroy(int eid) { (void)eid; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -42,6 +48,7 @@ int sceNetEpollWait(int eid, NetEpollEvent* events, int maxevents, int timeout) (void)events; (void)maxevents; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -49,12 +56,14 @@ int sceNetEtherNtostr(const NetEtherAddr* n, char* str, size_t len) { (void)n; (void)str; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetGetMacAddress(NetEtherAddr* addr, int flags) { (void)addr; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -63,6 +72,7 @@ int sceNetGetSockInfo(int s, void* info, int n, int flags) { (void)info; (void)n; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -70,16 +80,19 @@ int sceNetGetsockname(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceNetHtonl_nid_postfix(uint32_t host32) { (void)host32; + NotImplemented_nid_no_patch(__func__); return 0; } uint16_t sceNetHtons_nid_postfix(uint16_t host16) { (void)host16; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -88,6 +101,7 @@ const char* sceNetInetNtop(int af, const void* src, char* dst, uint32_t size) { (void)src; (void)dst; (void)size; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -95,26 +109,31 @@ int sceNetInetPton(int af, const char* src, void* dst) { (void)af; (void)src; (void)dst; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetInit_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetListen(int s, int backlog) { (void)s; (void)backlog; + NotImplemented_nid_no_patch(__func__); return 0; } uint32_t sceNetNtohl_nid_postfix(uint32_t net32) { (void)net32; + NotImplemented_nid_no_patch(__func__); return 0; } uint16_t sceNetNtohs_nid_postfix(uint16_t net16) { (void)net16; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -122,11 +141,13 @@ int sceNetPoolCreate(const char* name, int size, int flags) { (void)name; (void)size; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetPoolDestroy(int memid) { (void)memid; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -134,6 +155,7 @@ int sceNetResolverCreate(const char* name, int memid, int flags) { (void)name; (void)memid; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -144,6 +166,7 @@ int sceNetResolverStartNtoa(int rid, const char* hostname, void* addr, int timeo (void)timeout; (void)retry; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -153,12 +176,14 @@ int sceNetSetsockopt(int s, int level, int optname, const void* optval, uint32_t (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetShutdown(int s, int how) { (void)s; (void)how; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -167,11 +192,13 @@ int sceNetSocket(const char* name, int family, int type, int protocol) { (void)family; (void)type; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetSocketClose(int s) { (void)s; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNetCtl/Export.cpp b/core/libs/prx/libSceNetCtl/Export.cpp index f16fc3d63..744f05003 100644 --- a/core/libs/prx/libSceNetCtl/Export.cpp +++ b/core/libs/prx/libSceNetCtl/Export.cpp @@ -1,41 +1,49 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNetCtlCheckCallback(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetCtlGetInfo(int code, NetCtlInfo* info) { (void)code; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetCtlGetNatInfo(NetCtlNatInfo* nat_info) { (void)nat_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetCtlGetResult(int event_type, int* error_code) { (void)event_type; (void)error_code; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetCtlGetState(int* state) { (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetCtlGetStateV6(int* state) { (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNetCtlInit(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -43,14 +51,17 @@ int sceNetCtlRegisterCallback(NetCtlCallback func, void* arg, int* cid) { (void)func; (void)arg; (void)cid; + NotImplemented_nid_no_patch(__func__); return 0; } void sceNetCtlTerm(void) { + NotImplemented_nid_no_patch(__func__); } int sceNetCtlUnregisterCallback(int cid) { (void)cid; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNgs2.native/Export.cpp b/core/libs/prx/libSceNgs2.native/Export.cpp index c9a1f171b..194336235 100644 --- a/core/libs/prx/libSceNgs2.native/Export.cpp +++ b/core/libs/prx/libSceNgs2.native/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -9,6 +10,7 @@ int sceNgs2CalcWaveformBlock(const Ngs2WaveformFormat* format, uint32_t sample_p (void)sample_pos; (void)num_samples; (void)block; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -17,6 +19,7 @@ int sceNgs2GeomApply(const Ngs2GeomListenerWork* listener, const Ngs2GeomSourceP (void)source; (void)out_attrib; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -24,16 +27,19 @@ int sceNgs2GeomCalcListener(const Ngs2GeomListenerParam* param, Ngs2GeomListener (void)param; (void)out_work; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2GeomResetListenerParam(Ngs2GeomListenerParam* out_listener_param) { (void)out_listener_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2GeomResetSourceParam(Ngs2GeomSourceParam* out_source_param) { (void)out_source_param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -43,6 +49,7 @@ int sceNgs2PanGetVolumeMatrix(Ngs2PanWork* work, const Ngs2PanParam* params, uin (void)num_params; (void)matrix_format; (void)out_volume_matrix; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -51,6 +58,7 @@ int sceNgs2PanInit(Ngs2PanWork* work, const float* speaker_angles, float unit_an (void)speaker_angles; (void)unit_angle; (void)num_speakers; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -58,6 +66,7 @@ int sceNgs2ParseWaveformData(const void* data, size_t data_size, Ngs2WaveformInf (void)data; (void)data_size; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -67,6 +76,7 @@ int sceNgs2RackCreate(uintptr_t system_handle, uint32_t rack_id, const Ngs2RackO (void)option; (void)buffer_info; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -76,12 +86,14 @@ int sceNgs2RackCreateWithAllocator(uintptr_t system_handle, uint32_t rack_id, co (void)option; (void)allocator; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2RackDestroy(uintptr_t rack_handle, Ngs2ContextBufferInfo* buffer_info) { (void)rack_handle; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -89,11 +101,13 @@ int sceNgs2RackGetVoiceHandle(uintptr_t rack_handle, uint32_t voice_id, uintptr_ (void)rack_handle; (void)voice_id; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2RackLock(uintptr_t rack_handle) { (void)rack_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -101,11 +115,13 @@ int sceNgs2RackQueryBufferSize(uint32_t rack_id, const Ngs2RackOption* option, N (void)rack_id; (void)option; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2RackUnlock(uintptr_t rack_handle) { (void)rack_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -113,6 +129,7 @@ int sceNgs2SystemCreate(const Ngs2SystemOption* option, const Ngs2ContextBufferI (void)option; (void)buffer_info; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -120,12 +137,14 @@ int sceNgs2SystemCreateWithAllocator(const Ngs2SystemOption* option, const Ngs2B (void)option; (void)allocator; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemDestroy(uintptr_t system_handle, Ngs2ContextBufferInfo* buffer_info) { (void)system_handle; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -133,12 +152,14 @@ int sceNgs2SystemGetInfo(uintptr_t system_handle, Ngs2SystemInfo* info, size_t i (void)system_handle; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemQueryBufferSize(const Ngs2SystemOption* option, Ngs2ContextBufferInfo* buffer_info) { (void)option; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -146,23 +167,27 @@ int sceNgs2SystemRender(uintptr_t system_handle, const Ngs2RenderBufferInfo* buf (void)system_handle; (void)buffer_info; (void)num_buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemResetOption(Ngs2SystemOption* option) { (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemSetGrainSamples(uintptr_t system_handle, uint32_t num_samples) { (void)system_handle; (void)num_samples; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2VoiceControl(uintptr_t voice_handle, const Ngs2VoiceParamHeader* param_list) { (void)voice_handle; (void)param_list; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -170,12 +195,14 @@ int sceNgs2VoiceGetState(uintptr_t voice_handle, Ngs2VoiceState* state, size_t s (void)voice_handle; (void)state; (void)state_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2VoiceGetStateFlags(uintptr_t voice_handle, uint32_t* state_flags) { (void)voice_handle; (void)state_flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -184,6 +211,7 @@ int sceNgs2VoiceRunCommands(uintptr_t voice_handle, const void* commands, uint32 (void)commands; (void)num_commands; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNgs2/Export.cpp b/core/libs/prx/libSceNgs2/Export.cpp index fd4906b20..43fba6483 100644 --- a/core/libs/prx/libSceNgs2/Export.cpp +++ b/core/libs/prx/libSceNgs2/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -9,6 +10,7 @@ int sceNgs2CalcWaveformBlock(const Ngs2WaveformFormat* format, uint32_t sample_p (void)sample_pos; (void)num_samples; (void)block; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -17,6 +19,7 @@ int sceNgs2GeomApply(const Ngs2GeomListenerWork* listener, const Ngs2GeomSourceP (void)source; (void)out_attrib; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -24,16 +27,19 @@ int sceNgs2GeomCalcListener(const Ngs2GeomListenerParam* param, Ngs2GeomListener (void)param; (void)out_work; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2GeomResetListenerParam(Ngs2GeomListenerParam* out_listener_param) { (void)out_listener_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2GeomResetSourceParam(Ngs2GeomSourceParam* out_source_param) { (void)out_source_param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -43,6 +49,7 @@ int sceNgs2PanGetVolumeMatrix(Ngs2PanWork* work, const Ngs2PanParam* params, uin (void)num_params; (void)matrix_format; (void)out_volume_matrix; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -51,6 +58,7 @@ int sceNgs2PanInit(Ngs2PanWork* work, const float* speaker_angles, float unit_an (void)speaker_angles; (void)unit_angle; (void)num_speakers; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -58,6 +66,7 @@ int sceNgs2ParseWaveformData(const void* data, size_t data_size, Ngs2WaveformInf (void)data; (void)data_size; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -67,6 +76,7 @@ int sceNgs2RackCreate(uintptr_t system_handle, uint32_t rack_id, const Ngs2RackO (void)option; (void)buffer_info; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -76,12 +86,14 @@ int sceNgs2RackCreateWithAllocator(uintptr_t system_handle, uint32_t rack_id, co (void)option; (void)allocator; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2RackDestroy(uintptr_t rack_handle, Ngs2ContextBufferInfo* buffer_info) { (void)rack_handle; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -89,11 +101,13 @@ int sceNgs2RackGetVoiceHandle(uintptr_t rack_handle, uint32_t voice_id, uintptr_ (void)rack_handle; (void)voice_id; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2RackLock(uintptr_t rack_handle) { (void)rack_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -101,11 +115,13 @@ int sceNgs2RackQueryBufferSize(uint32_t rack_id, const Ngs2RackOption* option, N (void)rack_id; (void)option; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2RackUnlock(uintptr_t rack_handle) { (void)rack_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -113,6 +129,7 @@ int sceNgs2SystemCreate(const Ngs2SystemOption* option, const Ngs2ContextBufferI (void)option; (void)buffer_info; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -120,12 +137,14 @@ int sceNgs2SystemCreateWithAllocator(const Ngs2SystemOption* option, const Ngs2B (void)option; (void)allocator; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemDestroy(uintptr_t system_handle, Ngs2ContextBufferInfo* buffer_info) { (void)system_handle; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -133,12 +152,14 @@ int sceNgs2SystemGetInfo(uintptr_t system_handle, Ngs2SystemInfo* info, size_t i (void)system_handle; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemQueryBufferSize(const Ngs2SystemOption* option, Ngs2ContextBufferInfo* buffer_info) { (void)option; (void)buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -146,18 +167,21 @@ int sceNgs2SystemRender(uintptr_t system_handle, const Ngs2RenderBufferInfo* buf (void)system_handle; (void)buffer_info; (void)num_buffer_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2SystemSetGrainSamples(uintptr_t system_handle, uint32_t num_samples) { (void)system_handle; (void)num_samples; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2VoiceControl(uintptr_t voice_handle, const Ngs2VoiceParamHeader* param_list) { (void)voice_handle; (void)param_list; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -165,12 +189,14 @@ int sceNgs2VoiceGetState(uintptr_t voice_handle, Ngs2VoiceState* state, size_t s (void)voice_handle; (void)state; (void)state_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNgs2VoiceGetStateFlags(uintptr_t voice_handle, uint32_t* state_flags) { (void)voice_handle; (void)state_flags; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpAuth/Export.cpp b/core/libs/prx/libSceNpAuth/Export.cpp index ff75d94f4..9dc0f8a1b 100644 --- a/core/libs/prx/libSceNpAuth/Export.cpp +++ b/core/libs/prx/libSceNpAuth/Export.cpp @@ -1,25 +1,30 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpAuthAbortRequest(int req_id) { (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpAuthCreateAsyncRequest(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpAuthCreateRequest(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpAuthDeleteRequest(int req_id) { (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -28,6 +33,7 @@ int sceNpAuthGetAuthorizationCodeV3(int req_id, const void* param, void* auth_co (void)param; (void)auth_code; (void)issuer_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -35,18 +41,21 @@ int sceNpAuthGetIdTokenV3(int req_id, const void* param, void* id_token) { (void)req_id; (void)param; (void)id_token; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpAuthPollAsync(int req_id, int* result) { (void)req_id; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpAuthWaitAsync(int req_id, int* result) { (void)req_id; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpCommerce/Export.cpp b/core/libs/prx/libSceNpCommerce/Export.cpp index c0cbd5a12..388783dae 100644 --- a/core/libs/prx/libSceNpCommerce/Export.cpp +++ b/core/libs/prx/libSceNpCommerce/Export.cpp @@ -1,10 +1,12 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpCommerceDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpEntitlementAccess/Export.cpp b/core/libs/prx/libSceNpEntitlementAccess/Export.cpp index c10e7beac..0810d7226 100644 --- a/core/libs/prx/libSceNpEntitlementAccess/Export.cpp +++ b/core/libs/prx/libSceNpEntitlementAccess/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int sceNpEntitlementAccessGetAddcontEntitlementInfo(uint32_t service_label, cons (void)service_label; (void)entitlement_label; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -16,17 +18,20 @@ int sceNpEntitlementAccessGetAddcontEntitlementInfoList(uint32_t service_label, (void)list; (void)list_num; (void)hit_num; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpEntitlementAccessGetSkuFlag(uint32_t* sku_flag) { (void)sku_flag; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpEntitlementAccessInitialize(const NpEntitlementAccessInitParam* init_param, NpEntitlementAccessBootParam* boot_param) { (void)init_param; (void)boot_param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpGameIntent/Export.cpp b/core/libs/prx/libSceNpGameIntent/Export.cpp index 9613c67a2..ea28ace75 100644 --- a/core/libs/prx/libSceNpGameIntent/Export.cpp +++ b/core/libs/prx/libSceNpGameIntent/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -9,20 +10,24 @@ int sceNpGameIntentGetPropertyValueString(const NpGameIntentData* intent_data, c (void)key; (void)value_buf; (void)buf_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGameIntentInitialize(const void* init_param) { (void)init_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGameIntentReceiveIntent(NpGameIntentInfo* intent_info) { (void)intent_info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGameIntentTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpManager/Export.cpp b/core/libs/prx/libSceNpManager/Export.cpp index e2615e46f..e2f16871c 100644 --- a/core/libs/prx/libSceNpManager/Export.cpp +++ b/core/libs/prx/libSceNpManager/Export.cpp @@ -1,15 +1,18 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpAbortRequest(int req_id) { (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpCheckCallback(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -17,12 +20,14 @@ int sceNpCheckNpAvailability(int req_id, const char* user, void* result) { (void)req_id; (void)user; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpCheckNpReachability(int req_id, int user_id) { (void)req_id; (void)user_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -30,20 +35,24 @@ int sceNpCheckPremium(int req_id, const NpCheckPremiumParameter* param, NpCheckP (void)req_id; (void)param; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpCreateAsyncRequest(const NpCreateAsyncRequestParameter* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpCreateRequest(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpDeleteRequest(int req_id) { (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -51,98 +60,115 @@ int sceNpGetAccountAge(int req_id, int user_id, uint8_t* age) { (void)req_id; (void)user_id; (void)age; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGetAccountCountryA(int user_id, void* country_code) { (void)user_id; (void)country_code; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGetAccountIdA(int user_id, uint64_t* account_id) { (void)user_id; (void)account_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGetNpId(int user_id, NpId* np_id) { (void)user_id; (void)np_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGetNpReachabilityState(int user_id, uint32_t* state) { (void)user_id; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGetOnlineId(int user_id, NpOnlineId* online_id) { (void)user_id; (void)online_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpGetState(int user_id, uint32_t* state) { (void)user_id; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpHasSignedUp(int user_id, bool* has_signed_up) { (void)user_id; (void)has_signed_up; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpPollAsync(int req_id, int* result) { (void)req_id; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } void sceNpRegisterGamePresenceCallback(void* callback, void* userdata) { (void)callback; (void)userdata; + NotImplemented_nid_no_patch(__func__); } int sceNpRegisterNpReachabilityStateCallback(void* callback, void* userdata) { (void)callback; (void)userdata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpRegisterPlusEventCallback(void* callback, void* userdata) { (void)callback; (void)userdata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpRegisterPremiumEventCallback(void* callback, void* userdata) { (void)callback; (void)userdata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpRegisterStateCallback(void* callback, void* userdata) { (void)callback; (void)userdata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpSetContentRestriction(const NpContentRestriction* restriction) { (void)restriction; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpSetNpTitleId(const NpTitleId* title_id, const NpTitleSecret* title_secret) { (void)title_id; (void)title_secret; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUnregisterStateCallback(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpSessionSignaling/Export.cpp b/core/libs/prx/libSceNpSessionSignaling/Export.cpp index 551526129..47d807e08 100644 --- a/core/libs/prx/libSceNpSessionSignaling/Export.cpp +++ b/core/libs/prx/libSceNpSessionSignaling/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpSessionSignalingInitialize(void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpTrophy2/Export.cpp b/core/libs/prx/libSceNpTrophy2/Export.cpp index 37aaba44d..4d5b0c70e 100644 --- a/core/libs/prx/libSceNpTrophy2/Export.cpp +++ b/core/libs/prx/libSceNpTrophy2/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpTrophy2AbortHandle(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,21 +16,25 @@ int sceNpTrophy2CreateContext(int* context, int user_id, uint32_t service_label, (void)user_id; (void)service_label; (void)options; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpTrophy2CreateHandle(int* handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpTrophy2DestroyContext(int context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpTrophy2DestroyHandle(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -37,6 +43,7 @@ int sceNpTrophy2GetGameIcon(int context, int handle, void* buffer, size_t* size) (void)handle; (void)buffer; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -45,6 +52,7 @@ int sceNpTrophy2GetGameInfo(int context, int handle, NpTrophy2GameDetails* detai (void)handle; (void)details; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -54,6 +62,7 @@ int sceNpTrophy2GetGroupIcon(int context, int handle, int group_id, void* buffer (void)group_id; (void)buffer; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -63,6 +72,7 @@ int sceNpTrophy2GetGroupInfo(int context, int handle, int group_id, NpTrophy2Gro (void)group_id; (void)details; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -74,6 +84,7 @@ int sceNpTrophy2GetGroupInfoArray(int context, int handle, uint32_t offset, uint (void)details_array; (void)data_array; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -83,6 +94,7 @@ int sceNpTrophy2GetTrophyIcon(int context, int handle, int trophy_id, void* buff (void)trophy_id; (void)buffer; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -92,6 +104,7 @@ int sceNpTrophy2GetTrophyInfo(int context, int handle, int trophy_id, NpTrophy2D (void)trophy_id; (void)details; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -103,6 +116,7 @@ int sceNpTrophy2GetTrophyInfoArray(int context, int handle, uint32_t offset, uin (void)details_array; (void)data_array; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -110,12 +124,14 @@ int sceNpTrophy2RegisterContext(int context, int handle, uint64_t options) { (void)context; (void)handle; (void)options; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpTrophy2RegisterUnlockCallback(void* callback, void* userdata) { (void)callback; (void)userdata; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpUniversalDataSystem/Export.cpp b/core/libs/prx/libSceNpUniversalDataSystem/Export.cpp index 9e79d4821..2281c6bae 100644 --- a/core/libs/prx/libSceNpUniversalDataSystem/Export.cpp +++ b/core/libs/prx/libSceNpUniversalDataSystem/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpUniversalDataSystemAbortHandle(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,6 +16,7 @@ int sceNpUniversalDataSystemCreateContext(int* context, int user_id, uint32_t se (void)user_id; (void)service_label; (void)options; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -22,52 +25,62 @@ int sceNpUniversalDataSystemCreateEvent(const char* event_name, const NpUniversa (void)prop; (void)new_event; (void)prop_ptr; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemCreateEventPropertyArray(NpUniversalDataSystemEventPropertyArray** new_array) { (void)new_array; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemCreateEventPropertyObject(NpUniversalDataSystemEventPropertyObject** new_object) { (void)new_object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemCreateHandle(int* handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemDestroyContext(int context) { (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemDestroyEvent(NpUniversalDataSystemEvent* event) { (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemDestroyEventPropertyArray(NpUniversalDataSystemEventPropertyArray* array) { (void)array; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemDestroyEventPropertyObject(NpUniversalDataSystemEventPropertyObject* object) { (void)object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemDestroyHandle(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventEstimateSize(const NpUniversalDataSystemEvent* event, size_t* size) { (void)event; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -75,6 +88,7 @@ int sceNpUniversalDataSystemEventPropertyArraySetArray(NpUniversalDataSystemEven (void)array; (void)value; (void)value_ptr; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -82,36 +96,42 @@ int sceNpUniversalDataSystemEventPropertyArraySetBinary(NpUniversalDataSystemEve (void)array; (void)value; (void)value_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetBool(NpUniversalDataSystemEventPropertyArray* array, bool value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetFloat32(NpUniversalDataSystemEventPropertyArray* array, float value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetFloat64(NpUniversalDataSystemEventPropertyArray* array, double value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetInt32(NpUniversalDataSystemEventPropertyArray* array, int32_t value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetInt64(NpUniversalDataSystemEventPropertyArray* array, int64_t value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -119,24 +139,28 @@ int sceNpUniversalDataSystemEventPropertyArraySetObject(NpUniversalDataSystemEve (void)array; (void)value; (void)value_ptr; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetString(NpUniversalDataSystemEventPropertyArray* array, const char* value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetUInt32(NpUniversalDataSystemEventPropertyArray* array, uint32_t value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemEventPropertyArraySetUInt64(NpUniversalDataSystemEventPropertyArray* array, uint64_t value) { (void)array; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -145,6 +169,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetArray(NpUniversalDataSystemEve (void)key; (void)value; (void)value_ptr; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -153,6 +178,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetBinary(NpUniversalDataSystemEv (void)key; (void)value; (void)value_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -160,6 +186,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetBool(NpUniversalDataSystemEven (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -167,6 +194,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetFloat32(NpUniversalDataSystemE (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -174,6 +202,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetFloat64(NpUniversalDataSystemE (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -181,6 +210,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetInt32(NpUniversalDataSystemEve (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -188,6 +218,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetInt64(NpUniversalDataSystemEve (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -196,6 +227,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetObject(NpUniversalDataSystemEv (void)key; (void)value; (void)value_ptr; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -203,6 +235,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetString(NpUniversalDataSystemEv (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -210,6 +243,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetUInt32(NpUniversalDataSystemEv (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -217,6 +251,7 @@ int sceNpUniversalDataSystemEventPropertyObjectSetUInt64(NpUniversalDataSystemEv (void)object; (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -225,22 +260,26 @@ int sceNpUniversalDataSystemEventToString(const NpUniversalDataSystemEvent* even (void)buf; (void)buf_size; (void)string_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemGetMemoryStat(NpUniversalDataSystemMemoryStat* stat) { (void)stat; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemGetStorageStat(int context, NpUniversalDataSystemStorageStat* stat) { (void)context; (void)stat; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemInitialize(const NpUniversalDataSystemInitParam* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -249,6 +288,7 @@ int sceNpUniversalDataSystemPostEvent(int context, int handle, const void* event (void)handle; (void)event; (void)options; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -256,10 +296,12 @@ int sceNpUniversalDataSystemRegisterContext(int context, int handle, uint64_t op (void)context; (void)handle; (void)options; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpUniversalDataSystemTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceNpWebApi2/Export.cpp b/core/libs/prx/libSceNpWebApi2/Export.cpp index 668883128..49992aabe 100644 --- a/core/libs/prx/libSceNpWebApi2/Export.cpp +++ b/core/libs/prx/libSceNpWebApi2/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceNpWebApi2AbortRequest(int64_t request_id) { (void)request_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -13,10 +15,12 @@ int sceNpWebApi2AddHttpRequestHeader(int64_t request_id, const char* field_name, (void)request_id; (void)field_name; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void sceNpWebApi2CheckTimeout(void) { + NotImplemented_nid_no_patch(__func__); } int sceNpWebApi2CreateRequest(int user_context_id, const char* api_group, const char* path, const char* method, const void* content_parameter, int64_t* request_id) { @@ -26,22 +30,26 @@ int sceNpWebApi2CreateRequest(int user_context_id, const char* api_group, const (void)method; (void)content_parameter; (void)request_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2CreateUserContext(int lib_ctx_id, int user_id) { (void)lib_ctx_id; (void)user_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2DeleteRequest(int64_t request_id) { (void)request_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2DeleteUserContext(int user_context_id) { (void)user_context_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -50,6 +58,7 @@ int sceNpWebApi2GetHttpResponseHeaderValue(int64_t request_id, const char* field (void)field_name; (void)value; (void)value_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -57,12 +66,14 @@ int sceNpWebApi2GetHttpResponseHeaderValueLength(int64_t request_id, const char* (void)request_id; (void)field_name; (void)value_length; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2Initialize(int lib_http_ctx_id, size_t pool_size) { (void)lib_http_ctx_id; (void)pool_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -73,23 +84,27 @@ int sceNpWebApi2PushEventCreateFilter(int lib_ctx_id, int handle_id, const char* (void)np_service_label; (void)filter_param; (void)filter_param_num; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2PushEventCreateHandle(int lib_ctx_id) { (void)lib_ctx_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2PushEventDeleteHandle(int lib_ctx_id, int handle_id) { (void)lib_ctx_id; (void)handle_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2PushEventDeletePushContext(int user_context_id, const void* push_context_id) { (void)user_context_id; (void)push_context_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -98,6 +113,7 @@ int sceNpWebApi2PushEventRegisterCallback(int user_context_id, int filter_id, vo (void)filter_id; (void)callback; (void)user_arg; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -105,6 +121,7 @@ int sceNpWebApi2ReadData(int64_t request_id, void* data, size_t size) { (void)request_id; (void)data; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -113,11 +130,13 @@ int sceNpWebApi2SendRequest(int64_t request_id, const void* data, size_t data_si (void)data; (void)data_size; (void)response_info_option; + NotImplemented_nid_no_patch(__func__); return 0; } int sceNpWebApi2Terminate(int lib_ctx_id) { (void)lib_ctx_id; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libScePad/Export.cpp b/core/libs/prx/libScePad/Export.cpp index f629fcc36..1103ea9a4 100644 --- a/core/libs/prx/libScePad/Export.cpp +++ b/core/libs/prx/libScePad/Export.cpp @@ -1,17 +1,20 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int scePadClose_nid_postfix(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadDeviceClassGetExtendedInformation(int handle, PadDeviceClassExtendedInformation* info) { (void)handle; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -19,12 +22,14 @@ int scePadDeviceClassParseData(int handle, const PadData* data, PadDeviceClassDa (void)handle; (void)data; (void)class_data; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadGetControllerInformation(int handle, PadControllerInformation* info) { (void)handle; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -32,16 +37,19 @@ int scePadGetHandle(int user_id, int type, int index) { (void)user_id; (void)type; (void)index; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadGetTriggerEffectState(int handle, PadTriggerEffectStateInformation* info) { (void)handle; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadInit_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -50,6 +58,7 @@ int scePadOpen_nid_postfix(int user_id, int type, int index, const void* param) (void)type; (void)index; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -57,69 +66,81 @@ int scePadRead_nid_postfix(int handle, PadData* data, int num) { (void)handle; (void)data; (void)num; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadReadState(int handle, PadData* data) { (void)handle; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadResetLightBar(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadResetOrientation(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetAngularVelocityDeadbandState(int handle, bool enable) { (void)handle; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetLightBar(int handle, const PadLightBarParam* param) { (void)handle; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetMotionSensorState(int handle, bool enable) { (void)handle; (void)enable; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetTiltCorrectionState(int handle, bool enabled) { (void)handle; (void)enabled; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetTriggerEffect(int handle, const void* param) { (void)handle; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetVibration(int handle, const PadVibrationParam* param) { (void)handle; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetVibrationMode(int handle, int mode) { (void)handle; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int scePadSetVibrationTriggerEffectWeakWhileEmbeddedMicInUse(bool enabled) { (void)enabled; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libScePlayGo/Export.cpp b/core/libs/prx/libScePlayGo/Export.cpp index a20300b78..6af634479 100644 --- a/core/libs/prx/libScePlayGo/Export.cpp +++ b/core/libs/prx/libScePlayGo/Export.cpp @@ -1,11 +1,13 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int scePlayGoClose(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -14,6 +16,7 @@ int scePlayGoGetChunkId(int handle, uint16_t* out_chunk_id_list, uint32_t number (void)out_chunk_id_list; (void)number_of_entries; (void)out_entries; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -22,6 +25,7 @@ int scePlayGoGetEta(int handle, const uint16_t* chunk_ids, uint32_t number_of_en (void)chunk_ids; (void)number_of_entries; (void)out_eta; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -30,18 +34,21 @@ int scePlayGoGetInstallChunkId(int handle, uint16_t* out_chunk_id_list, uint32_t (void)out_chunk_id_list; (void)number_of_entries; (void)out_entries; + NotImplemented_nid_no_patch(__func__); return 0; } int scePlayGoGetInstallSpeed(int handle, int32_t* out_speed) { (void)handle; (void)out_speed; + NotImplemented_nid_no_patch(__func__); return 0; } int scePlayGoGetLanguageMask(int handle, uint64_t* out_language_mask) { (void)handle; (void)out_language_mask; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -50,6 +57,7 @@ int scePlayGoGetLocus(int handle, const uint16_t* chunk_ids, uint32_t number_of_ (void)chunk_ids; (void)number_of_entries; (void)out_loci; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -57,6 +65,7 @@ int scePlayGoGetOptionalChunk(int handle, int32_t type, PlayGoOptionalChunk* opt (void)handle; (void)type; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -65,6 +74,7 @@ int scePlayGoGetProgress(int handle, const uint16_t* chunk_ids, uint32_t number_ (void)chunk_ids; (void)number_of_entries; (void)out_progress; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -72,6 +82,7 @@ int scePlayGoGetSupportedOptionalChunk(int handle, int32_t type, PlayGoOptionalC (void)handle; (void)type; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -80,17 +91,20 @@ int scePlayGoGetToDoList(int handle, PlayGoToDo* out_todo_list, uint32_t number_ (void)out_todo_list; (void)number_of_entries; (void)out_entries; + NotImplemented_nid_no_patch(__func__); return 0; } int scePlayGoInitialize(const PlayGoInitParams* init) { (void)init; + NotImplemented_nid_no_patch(__func__); return 0; } int scePlayGoOpen(int* out_handle, const void* param) { (void)out_handle; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -99,6 +113,7 @@ int scePlayGoPrefetch(int handle, const uint16_t* chunk_ids, uint32_t number_of_ (void)chunk_ids; (void)number_of_entries; (void)minimum_locus; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -106,12 +121,14 @@ int scePlayGoPrefetchOptionalChunk(int handle, int32_t type, const PlayGoOptiona (void)handle; (void)type; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } int scePlayGoSetInstallSpeed(int handle, int32_t speed) { (void)handle; (void)speed; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -119,10 +136,12 @@ int scePlayGoSetToDoList(int handle, const PlayGoToDo* todo_list, uint32_t numbe (void)handle; (void)todo_list; (void)number_of_entries; + NotImplemented_nid_no_patch(__func__); return 0; } int scePlayGoTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libScePngDec/Export.cpp b/core/libs/prx/libScePngDec/Export.cpp index 4c7f7c375..f02d83408 100644 --- a/core/libs/prx/libScePngDec/Export.cpp +++ b/core/libs/prx/libScePngDec/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -9,6 +10,7 @@ int32_t scePngDecCreate(const PngDecCreateParam* param, void* memory_address, ui (void)memory_address; (void)memory_size; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -16,22 +18,26 @@ int32_t scePngDecDecode(void* handle, const PngDecDecodeParam* param, PngDecImag (void)handle; (void)param; (void)image_info; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t scePngDecDelete(void* handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t scePngDecParseHeader(const PngDecParseParam* param, PngDecImageInfo* image_info) { (void)param; (void)image_info; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t scePngDecQueryMemorySize(const PngDecCreateParam* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceRandom/Export.cpp b/core/libs/prx/libSceRandom/Export.cpp index 40495d904..cee0eea81 100644 --- a/core/libs/prx/libSceRandom/Export.cpp +++ b/core/libs/prx/libSceRandom/Export.cpp @@ -1,12 +1,14 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceRandomGetRandomNumber(void* buf, size_t size) { (void)buf; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceRazorCpu/Export.cpp b/core/libs/prx/libSceRazorCpu/Export.cpp index b8290ce18..ed058c164 100644 --- a/core/libs/prx/libSceRazorCpu/Export.cpp +++ b/core/libs/prx/libSceRazorCpu/Export.cpp @@ -1,10 +1,12 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { uint32_t sceRazorCpuIsCapturing(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceRemoteplay/Export.cpp b/core/libs/prx/libSceRemoteplay/Export.cpp index f43ee0acd..30e9b5741 100644 --- a/core/libs/prx/libSceRemoteplay/Export.cpp +++ b/core/libs/prx/libSceRemoteplay/Export.cpp @@ -1,22 +1,26 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceRemoteplayGetConnectionStatus(int user_id, int* status) { (void)user_id; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRemoteplayInitialize(void* heap, size_t heap_size) { (void)heap; (void)heap_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRemoteplayTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceRtc/Export.cpp b/core/libs/prx/libSceRtc/Export.cpp index e11099b9b..7afec8555 100644 --- a/core/libs/prx/libSceRtc/Export.cpp +++ b/core/libs/prx/libSceRtc/Export.cpp @@ -1,23 +1,27 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceRtcCheckValid(const RtcDateTime* time) { (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcConvertLocalTimeToUtc(const RtcTick* local_time, RtcTick* utc) { (void)local_time; (void)utc; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcConvertUtcToLocalTime(const RtcTick* utc, RtcTick* local_time) { (void)utc; (void)local_time; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -25,27 +29,32 @@ int sceRtcFormatRFC3339(char* date_time, const RtcTick* utc, int time_zone_minut (void)date_time; (void)utc; (void)time_zone_minutes; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetCurrentClock(RtcDateTime* time, int time_zone_minutes) { (void)time; (void)time_zone_minutes; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetCurrentClockLocalTime(RtcDateTime* time) { (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetCurrentNetworkTick(RtcTick* tick) { (void)tick; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetCurrentTick(RtcTick* tick) { (void)tick; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -53,57 +62,67 @@ int sceRtcGetDayOfWeek(int year, int month, int day) { (void)year; (void)month; (void)day; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetTick(const RtcDateTime* time, RtcTick* tick) { (void)time; (void)tick; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetTickResolution(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetTime_t(const RtcDateTime* time, int64_t* seconds) { (void)time; (void)seconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcGetWin32FileTime(const RtcDateTime* time, uint64_t* win32_time) { (void)time; (void)win32_time; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcIsLeapYear(int year) { (void)year; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcParseRFC3339(RtcTick* utc, const char* date_time) { (void)utc; (void)date_time; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcSetTick(RtcDateTime* time, const RtcTick* tick) { (void)time; (void)tick; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcSetTime_t(RtcDateTime* time, int64_t seconds) { (void)time; (void)seconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRtcSetWin32FileTime(RtcDateTime* time, uint64_t win32_time) { (void)time; (void)win32_time; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -111,6 +130,7 @@ int sceRtcTickAddDays(RtcTick* dst, const RtcTick* src, int32_t days) { (void)dst; (void)src; (void)days; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -118,6 +138,7 @@ int sceRtcTickAddHours(RtcTick* dst, const RtcTick* src, int32_t hours) { (void)dst; (void)src; (void)hours; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -125,6 +146,7 @@ int sceRtcTickAddMicroseconds(RtcTick* dst, const RtcTick* src, int64_t usec) { (void)dst; (void)src; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -132,6 +154,7 @@ int sceRtcTickAddMinutes(RtcTick* dst, const RtcTick* src, int64_t minutes) { (void)dst; (void)src; (void)minutes; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -139,6 +162,7 @@ int sceRtcTickAddSeconds(RtcTick* dst, const RtcTick* src, int64_t seconds) { (void)dst; (void)src; (void)seconds; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -146,6 +170,7 @@ int sceRtcTickAddTicks(RtcTick* dst, const RtcTick* src, int64_t ticks) { (void)dst; (void)src; (void)ticks; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -153,6 +178,7 @@ int sceRtcTickAddWeeks(RtcTick* dst, const RtcTick* src, int32_t weeks) { (void)dst; (void)src; (void)weeks; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceRudp/Export.cpp b/core/libs/prx/libSceRudp/Export.cpp index 686c32301..61688d837 100644 --- a/core/libs/prx/libSceRudp/Export.cpp +++ b/core/libs/prx/libSceRudp/Export.cpp @@ -1,24 +1,28 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceRudpEnableInternalIOThread(uint32_t stack_size, uint32_t priority) { (void)stack_size; (void)priority; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRudpInit_nid_postfix(void* mem_pool, int mem_pool_size) { (void)mem_pool; (void)mem_pool_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceRudpSetEventHandler(RudpEventHandler handler, void* arg) { (void)handler; (void)arg; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSaveData.native/Export.cpp b/core/libs/prx/libSceSaveData.native/Export.cpp index 53b26e12c..266a1c88b 100644 --- a/core/libs/prx/libSceSaveData.native/Export.cpp +++ b/core/libs/prx/libSceSaveData.native/Export.cpp @@ -1,49 +1,58 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSaveDataBackup(const SaveDataBackup* backup) { (void)backup; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataCommit(const SaveDataCommitParam* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataCreateTransactionResource(uint32_t size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDelete(const SaveDataDelete* del) { (void)del; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDeleteTransactionResource(int32_t resource) { (void)resource; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDirNameSearch(const SaveDataDirNameSearchCond* cond, SaveDataDirNameSearchResult* result) { (void)cond; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataGetEventResult(const void* event_param, SaveDataEvent* event) { (void)event_param; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataGetMountInfo(const SaveDataMountPoint* mount_point, SaveDataMountInfo* info) { (void)mount_point; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -53,46 +62,54 @@ int sceSaveDataGetParam(const SaveDataMountPoint* mount_point, uint32_t param_ty (void)param_buf; (void)param_buf_size; (void)got_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataGetSaveDataMemory2(SaveDataMemoryGet2* get_param) { (void)get_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataInitialize3(const void* init) { (void)init; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataLoadIcon(const SaveDataMountPoint* mount_point, SaveDataIcon* icon) { (void)mount_point; (void)icon; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataMount3(const SaveDataMount3* mount, SaveDataMountResult* mount_result) { (void)mount; (void)mount_result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataPrepare(const SaveDataMountPoint* mount_point, const SaveDataPrepareParam* param) { (void)mount_point; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSaveIcon(const SaveDataMountPoint* mount_point, const SaveDataIcon* icon) { (void)mount_point; (void)icon; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSaveIconByPath(const SaveDataMountPoint* mount_point, const char* path) { (void)mount_point; (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -101,38 +118,45 @@ int sceSaveDataSetParam(const SaveDataMountPoint* mount_point, uint32_t param_ty (void)param_type; (void)param_buf; (void)param_buf_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSetSaveDataMemory2(const SaveDataMemorySet2* set_param) { (void)set_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSetupSaveDataMemory2(const SaveDataMemorySetup2* setup_param, SaveDataMemorySetupResult* result) { (void)setup_param; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSyncSaveDataMemory(const void* sync_param) { (void)sync_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataTransferringMount(const SaveDataTransferringMount* mount, SaveDataMountResult* mount_result) { (void)mount; (void)mount_result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataUmount2(uint32_t mode, const SaveDataMountPoint* mount_point) { (void)mode; (void)mount_point; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSaveData/Export.cpp b/core/libs/prx/libSceSaveData/Export.cpp index 16597a7dc..4cd757dd4 100644 --- a/core/libs/prx/libSceSaveData/Export.cpp +++ b/core/libs/prx/libSceSaveData/Export.cpp @@ -1,34 +1,40 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSaveDataBackup(const SaveDataBackup* backup) { (void)backup; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDelete(const SaveDataDelete* del) { (void)del; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDirNameSearch(const SaveDataDirNameSearchCond* cond, SaveDataDirNameSearchResult* result) { (void)cond; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataGetEventResult(const void* event_param, SaveDataEvent* event) { (void)event_param; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataGetMountInfo(const SaveDataMountPoint* mount_point, SaveDataMountInfo* info) { (void)mount_point; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -38,28 +44,33 @@ int sceSaveDataGetParam(const SaveDataMountPoint* mount_point, uint32_t param_ty (void)param_buf; (void)param_buf_size; (void)got_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataGetSaveDataMemory2(SaveDataMemoryGet2* get_param) { (void)get_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataInitialize3(const void* init) { (void)init; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataLoadIcon(const SaveDataMountPoint* mount_point, SaveDataIcon* icon) { (void)mount_point; (void)icon; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSaveIcon(const SaveDataMountPoint* mount_point, const SaveDataIcon* icon) { (void)mount_point; (void)icon; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -68,32 +79,38 @@ int sceSaveDataSetParam(const SaveDataMountPoint* mount_point, uint32_t param_ty (void)param_type; (void)param_buf; (void)param_buf_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSetSaveDataMemory2(const SaveDataMemorySet2* set_param) { (void)set_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSetupSaveDataMemory2(const SaveDataMemorySetup2* setup_param, SaveDataMemorySetupResult* result) { (void)setup_param; (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataSyncSaveDataMemory(const void* sync_param) { (void)sync_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataTransferringMount(const SaveDataTransferringMount* mount, SaveDataMountResult* mount_result) { (void)mount; (void)mount_result; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSaveDataDialog.native/Export.cpp b/core/libs/prx/libSceSaveDataDialog.native/Export.cpp index 1ddf55904..d8644b356 100644 --- a/core/libs/prx/libSceSaveDataDialog.native/Export.cpp +++ b/core/libs/prx/libSceSaveDataDialog.native/Export.cpp @@ -1,53 +1,64 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSaveDataDialogClose(const void* close_param) { (void)close_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogGetResult(void* result) { (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogIsReadyToDisplay(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogProgressBarInc(int target, uint32_t delta) { (void)target; (void)delta; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogProgressBarSetValue(int target, uint32_t rate) { (void)target; (void)rate; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSaveDataDialog/Export.cpp b/core/libs/prx/libSceSaveDataDialog/Export.cpp index 1ddf55904..d8644b356 100644 --- a/core/libs/prx/libSceSaveDataDialog/Export.cpp +++ b/core/libs/prx/libSceSaveDataDialog/Export.cpp @@ -1,53 +1,64 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSaveDataDialogClose(const void* close_param) { (void)close_param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogGetResult(void* result) { (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogIsReadyToDisplay(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogProgressBarInc(int target, uint32_t delta) { (void)target; (void)delta; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogProgressBarSetValue(int target, uint32_t rate) { (void)target; (void)rate; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSaveDataDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceShare.native/Export.cpp b/core/libs/prx/libSceShare.native/Export.cpp index d789c632a..cc0629bc7 100644 --- a/core/libs/prx/libSceShare.native/Export.cpp +++ b/core/libs/prx/libSceShare.native/Export.cpp @@ -1,34 +1,40 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceShareCaptureScreenshot(const void* param, int32_t* req_id) { (void)param; (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareCaptureVideoClip(const void* param, int32_t* req_id) { (void)param; (void)req_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareFeaturePermit(uint32_t feature_flags) { (void)feature_flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareFeatureProhibit(uint32_t feature_flags) { (void)feature_flags; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareGetCurrentStatus(uint32_t feature_flag, ShareCurrentStatus* status) { (void)feature_flag; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -36,28 +42,33 @@ int sceShareInitialize(size_t heap_size, int thread_priority, uint64_t affinity_ (void)heap_size; (void)thread_priority; (void)affinity_mask; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareOpenMenuForContent(const void* content_id) { (void)content_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareRegisterContentEventCallback(void* callback, void* user_data) { (void)callback; (void)user_data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareSetCaptureSource(uint32_t feature_flags, const void* tap_point) { (void)feature_flags; (void)tap_point; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareSetContentParam(const char* content_param) { (void)content_param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -66,15 +77,18 @@ int sceShareSetScreenshotOverlayImage(const char* file_path, int32_t margin_x, i (void)margin_x; (void)margin_y; (void)origin; + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceShareUnregisterContentEventCallback(void* callback) { (void)callback; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSharePlay/Export.cpp b/core/libs/prx/libSceSharePlay/Export.cpp index 618e9c0b4..755e336a4 100644 --- a/core/libs/prx/libSceSharePlay/Export.cpp +++ b/core/libs/prx/libSceSharePlay/Export.cpp @@ -1,16 +1,19 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSharePlayInitialize(void* heap, size_t heap_size) { (void)heap; (void)heap_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSharePlayTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSigninDialog/Export.cpp b/core/libs/prx/libSceSigninDialog/Export.cpp index 27c0685ab..a6bab9494 100644 --- a/core/libs/prx/libSceSigninDialog/Export.cpp +++ b/core/libs/prx/libSceSigninDialog/Export.cpp @@ -1,36 +1,44 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSigninDialogClose(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSigninDialogGetResult(void* result) { (void)result; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSigninDialogGetStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSigninDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSigninDialogOpen(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSigninDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSigninDialogUpdateStatus(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSsl/Export.cpp b/core/libs/prx/libSceSsl/Export.cpp index da3a94fb4..2b867f5ed 100644 --- a/core/libs/prx/libSceSsl/Export.cpp +++ b/core/libs/prx/libSceSsl/Export.cpp @@ -1,28 +1,33 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSslFreeCaCerts(int ssl_ctx_id, void* ca_certs) { (void)ssl_ctx_id; (void)ca_certs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSslGetCaCerts(int ssl_ctx_id, void* ca_certs) { (void)ssl_ctx_id; (void)ca_certs; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSslInit_nid_postfix(uint64_t pool_size) { (void)pool_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSslTerm_nid_postfix(int ssl_ctx_id) { (void)ssl_ctx_id; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSysmodule/Export.cpp b/core/libs/prx/libSceSysmodule/Export.cpp index 84dc25eb4..f5b54dc45 100644 --- a/core/libs/prx/libSceSysmodule/Export.cpp +++ b/core/libs/prx/libSceSysmodule/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,16 +9,19 @@ int sceSysmoduleGetModuleInfoForUnwind(uint64_t addr, int flags, ModuleInfoForUn (void)addr; (void)flags; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSysmoduleIsLoaded(uint16_t id) { (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSysmoduleLoadModule(uint16_t id) { (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -27,11 +31,13 @@ int sceSysmoduleLoadModuleInternalWithArg(uint16_t id, int arg1, int arg2, int a (void)arg2; (void)arg3; (void)ret; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSysmoduleUnloadModule(uint16_t id) { (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSystemGesture/Export.cpp b/core/libs/prx/libSceSystemGesture/Export.cpp index 85530dae0..5570450ee 100644 --- a/core/libs/prx/libSceSystemGesture/Export.cpp +++ b/core/libs/prx/libSceSystemGesture/Export.cpp @@ -1,17 +1,20 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSystemGestureAppendTouchRecognizer(int32_t gesture_handle, SystemGestureTouchRecognizer* recognizer) { (void)gesture_handle; (void)recognizer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureClose(int32_t gesture_handle) { (void)gesture_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -21,10 +24,12 @@ int sceSystemGestureCreateTouchRecognizer(int32_t gesture_handle, SystemGestureT (void)type; (void)rectangle; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureFinalizePrimitiveTouchRecognizer(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -32,6 +37,7 @@ int sceSystemGestureGetPrimitiveTouchEventByIndex(int32_t gesture_handle, uint32 (void)gesture_handle; (void)index; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -39,6 +45,7 @@ int sceSystemGestureGetPrimitiveTouchEventByPrimitiveID(int32_t gesture_handle, (void)gesture_handle; (void)primitiveId; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -47,11 +54,13 @@ int sceSystemGestureGetPrimitiveTouchEvents(int32_t gesture_handle, SystemGestur (void)event_buffer; (void)capacity_of_buffer; (void)number_of_event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureGetPrimitiveTouchEventsCount(int32_t gesture_handle) { (void)gesture_handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -60,6 +69,7 @@ int sceSystemGestureGetTouchEventByEventID(int32_t gesture_handle, const SystemG (void)recognizer; (void)eventId; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -68,6 +78,7 @@ int sceSystemGestureGetTouchEventByIndex(int32_t gesture_handle, const SystemGes (void)recognizer; (void)index; (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -77,12 +88,14 @@ int sceSystemGestureGetTouchEvents(int32_t gesture_handle, const SystemGestureTo (void)event_buffer; (void)capacity_of_buffer; (void)number_of_event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureGetTouchEventsCount(int32_t gesture_handle, const SystemGestureTouchRecognizer* recognizer) { (void)gesture_handle; (void)recognizer; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -90,51 +103,60 @@ int sceSystemGestureGetTouchRecognizerInformation(int32_t gesture_handle, const (void)gesture_handle; (void)recognizer; (void)information; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureInitializePrimitiveTouchRecognizer(const void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int32_t sceSystemGestureOpen(int32_t input_type, const void* param) { (void)input_type; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureRemoveTouchRecognizer(int32_t gesture_handle, SystemGestureTouchRecognizer* recognizer) { (void)gesture_handle; (void)recognizer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureResetPrimitiveTouchRecognizer(int32_t gesture_handle) { (void)gesture_handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureResetTouchRecognizer(int32_t gesture_handle, SystemGestureTouchRecognizer* recognizer) { (void)gesture_handle; (void)recognizer; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureUpdateAllTouchRecognizer(int32_t gesture_handle) { (void)gesture_handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureUpdatePrimitiveTouchRecognizer(int32_t gesture_handle, const void* param) { (void)gesture_handle; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemGestureUpdateTouchRecognizer(int32_t gesture_handle, SystemGestureTouchRecognizer* recognizer) { (void)gesture_handle; (void)recognizer; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -142,6 +164,7 @@ int sceSystemGestureUpdateTouchRecognizerRectangle(int32_t gesture_handle, Syste (void)gesture_handle; (void)recognizer; (void)rectangle; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceSystemService/Export.cpp b/core/libs/prx/libSceSystemService/Export.cpp index 9bc29a24b..dfb18df48 100644 --- a/core/libs/prx/libSceSystemService/Export.cpp +++ b/core/libs/prx/libSceSystemService/Export.cpp @@ -1,40 +1,48 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceSystemServiceDisableNoticeScreenSkipFlagAutoSet(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceGetDisplaySafeAreaInfo(SystemServiceDisplaySafeAreaInfo* info) { (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceGetHdrToneMapLuminance(SystemServiceHdrToneMapLuminance* luminance) { (void)luminance; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceGetNoticeScreenSkipFlag(bool* value) { (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceGetStatus(SystemServiceStatus* status) { (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceHideSplashScreen(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceParamGetInt(int param_id, int* value) { (void)param_id; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -42,24 +50,29 @@ int sceSystemServiceParamGetString(int param_id, char* buf, size_t buf_size) { (void)param_id; (void)buf; (void)buf_size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServicePowerTick(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceReceiveEvent(SystemServiceEvent* event) { (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceReportAbnormalTermination(const void* info) { (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceSystemServiceSetNoticeScreenSkipFlag(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceUlt/Export.cpp b/core/libs/prx/libSceUlt/Export.cpp index 6daa7a912..70b3570b2 100644 --- a/core/libs/prx/libSceUlt/Export.cpp +++ b/core/libs/prx/libSceUlt/Export.cpp @@ -1,14 +1,17 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceUltFinalize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -18,22 +21,26 @@ int sceUltMutexCreate(void* mutex, const char* name, void* waiting_queue_resourc (void)waiting_queue_resource_pool; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltMutexLock(void* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltMutexOptParamInitialize(UltMutexOptParam* opt_param, uint32_t build_version) { (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltMutexUnlock(void* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -45,6 +52,7 @@ int sceUltQueueCreate(void* queue, const char* name, uint64_t data_size, void* w (void)queue_data_resource_pool; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -58,6 +66,7 @@ int sceUltQueueDataResourcePoolCreate(void* pool, const char* name, uint32_t num (void)work_area; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -65,24 +74,28 @@ uint64_t sceUltQueueDataResourcePoolGetWorkAreaSize(uint32_t num_data, uint64_t (void)num_data; (void)data_size; (void)num_queue_object; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltQueuePush(void* queue, const void* data) { (void)queue; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltQueueTryPop(void* queue, void* data) { (void)queue; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltSemaphoreAcquire(void* semaphore, int32_t num_resource) { (void)semaphore; (void)num_resource; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -93,23 +106,27 @@ int sceUltSemaphoreCreate(void* semaphore, const char* name, int32_t num_initial (void)waiting_queue_resource_pool; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltSemaphoreDestroy(void* semaphore) { (void)semaphore; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltSemaphoreRelease(void* semaphore, int32_t num_resource) { (void)semaphore; (void)num_resource; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltSemaphoreTryAcquire(void* semaphore, int32_t num_resource) { (void)semaphore; (void)num_resource; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -123,12 +140,14 @@ int sceUltUlthreadCreate(void* ulthread, const char* name, UltUlthreadEntry entr (void)runtime; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltUlthreadJoin(void* ulthread, int32_t* status) { (void)ulthread; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -140,18 +159,21 @@ int sceUltUlthreadRuntimeCreate(void* runtime, const char* name, uint32_t max_nu (void)work_area; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceUltUlthreadRuntimeGetWorkAreaSize(uint32_t max_num_ulthread, uint32_t num_worker_thread) { (void)max_num_ulthread; (void)num_worker_thread; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUltUlthreadRuntimeOptParamInitialize(UltUlthreadRuntimeOptParam* opt_param, uint32_t build_version) { (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -163,12 +185,14 @@ int sceUltWaitingQueueResourcePoolCreate(void* pool, const char* name, uint32_t (void)work_area; (void)opt_param; (void)build_version; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceUltWaitingQueueResourcePoolGetWorkAreaSize(uint32_t num_threads, uint32_t num_sync_objects) { (void)num_threads; (void)num_sync_objects; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceUserService/Export.cpp b/core/libs/prx/libSceUserService/Export.cpp index 6d8d8599b..e5c928665 100644 --- a/core/libs/prx/libSceUserService/Export.cpp +++ b/core/libs/prx/libSceUserService/Export.cpp @@ -1,63 +1,74 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceUserServiceGetAccessibilityChatTranscription(int user_id, int32_t* chat_transcription) { (void)user_id; (void)chat_transcription; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetAccessibilityPressAndHoldDelay(int user_id, int32_t* press_and_hold_delay) { (void)user_id; (void)press_and_hold_delay; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetAccessibilityTriggerEffect(int user_id, int32_t* trigger_effect) { (void)user_id; (void)trigger_effect; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetAccessibilityVibration(int user_id, int32_t* vibration) { (void)user_id; (void)vibration; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetAccessibilityZoomEnabled(int user_id, int32_t* zoom_enabled) { (void)user_id; (void)zoom_enabled; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetAgeLevel(int user_id, uint32_t* age_level) { (void)user_id; (void)age_level; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetEvent(SceUserServiceEvent* event) { (void)event; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetGamePresets(int user_id, UserServiceGamePresets* presets) { (void)user_id; (void)presets; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetInitialUser(int* user_id) { (void)user_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetLoginUserIdList(UserServiceLoginUserIdList* user_id_list) { (void)user_id_list; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -65,26 +76,31 @@ int sceUserServiceGetUserName(int user_id, char* name, size_t size) { (void)user_id; (void)name; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceGetUserNumber(int user_id, int32_t* number) { (void)user_id; (void)number; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceInitialize(const void* params) { (void)params; + NotImplemented_nid_no_patch(__func__); return 0; } int sceUserServiceInitialize2(void) { + NotImplemented_nid_no_patch(__func__); return 0; } // signature from name int sceUserServiceTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceVideoOut/Export.cpp b/core/libs/prx/libSceVideoOut/Export.cpp index 89a6b17a9..a486fc4cd 100644 --- a/core/libs/prx/libSceVideoOut/Export.cpp +++ b/core/libs/prx/libSceVideoOut/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int sceVideoOutAddFlipEvent(KernelEqueue eq, int handle, void* udata) { (void)eq; (void)handle; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -15,6 +17,7 @@ int sceVideoOutAddOutputModeEvent(KernelEqueue eq, int handle, void* udata) { (void)eq; (void)handle; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -22,6 +25,7 @@ int sceVideoOutAddPreVblankStartEvent(KernelEqueue eq, int handle, void* udata) (void)eq; (void)handle; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -29,11 +33,13 @@ int sceVideoOutAddVblankEvent(KernelEqueue eq, int handle, void* udata) { (void)eq; (void)handle; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutClose(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -43,68 +49,80 @@ int sceVideoOutConfigureOutput(int handle, uint64_t mode, const VideoOutOutputOp (void)options; (void)reserved_ptr; (void)reserved; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutDeleteFlipEvent(KernelEqueue eq, int handle) { (void)eq; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutDeletePreVblankStartEvent(KernelEqueue eq, int handle) { (void)eq; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutDeleteVblankEvent(KernelEqueue eq, int handle) { (void)eq; (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutGetEventCount(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutGetEventData(const KernelEvent* ev, int64_t* data) { (void)ev; (void)data; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutGetEventId(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutGetFlipStatus(int handle, VideoOutFlipStatus* status) { (void)handle; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutGetOutputStatus(int handle, VideoOutOutputStatus* status) { (void)handle; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutGetVblankStatus(int handle, VideoOutVblankStatus* status) { (void)handle; (void)status; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutInitializeOutputOptions(VideoOutOutputOptions* options) { (void)options; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutIsFlipPending(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -114,6 +132,7 @@ int sceVideoOutIsOutputSupported(int handle, uint64_t mode, const VideoOutOutput (void)options; (void)reserved_ptr; (void)reserved; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -122,6 +141,7 @@ int sceVideoOutOpen(int user_id, int bus_type, int index, const void* param) { (void)bus_type; (void)index; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -134,6 +154,7 @@ int sceVideoOutRegisterBuffers2(int handle, int set_index, int buffer_index_star (void)attribute; (void)category; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -146,11 +167,13 @@ void sceVideoOutSetBufferAttribute2(VideoOutBufferAttribute2* attribute, uint64_ (void)option; (void)dcc_control; (void)dcc_cb_register_clear_color; + NotImplemented_nid_no_patch(__func__); } int sceVideoOutSetFlipRate(int handle, int rate) { (void)handle; (void)rate; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -158,6 +181,7 @@ int sceVideoOutSetWindowModeMargins(int handle, int top, int bottom) { (void)handle; (void)top; (void)bottom; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -166,6 +190,7 @@ int sceVideoOutSubmitChangeBufferAttribute2(int handle, int set_index, const Vid (void)set_index; (void)attribute; (void)option; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -174,17 +199,20 @@ int sceVideoOutSubmitFlip(int handle, int index, int flip_mode, int64_t flip_arg (void)index; (void)flip_mode; (void)flip_arg; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutUnregisterBuffers(int handle, int set_index) { (void)handle; (void)set_index; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVideoOutWaitVblank(int handle) { (void)handle; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceVoice/Export.cpp b/core/libs/prx/libSceVoice/Export.cpp index 9762a47ec..585aa8f2f 100644 --- a/core/libs/prx/libSceVoice/Export.cpp +++ b/core/libs/prx/libSceVoice/Export.cpp @@ -1,39 +1,46 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceVoiceConnectIPortToOPort(uint32_t input_port_id, uint32_t output_port_id) { (void)input_port_id; (void)output_port_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceCreatePort(uint32_t* port_id, const VoicePortParam* param) { (void)port_id; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceDeletePort(uint32_t port_id) { (void)port_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceDisconnectIPortFromOPort(uint32_t input_port_id, uint32_t output_port_id) { (void)input_port_id; (void)output_port_id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceEnd_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceGetBitRate(uint32_t port_id, uint32_t* bitrate) { (void)port_id; (void)bitrate; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -42,24 +49,28 @@ int sceVoiceGetPortAttr(uint32_t port_id, int32_t attr, void* value, int32_t siz (void)attr; (void)value; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceGetPortInfo(uint32_t port_id, VoicePortInfo* info) { (void)port_id; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceGetVolume(uint32_t port_id, float* volume) { (void)port_id; (void)volume; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceInit(VoiceInitParam* param, int32_t version) { (void)param; (void)version; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -67,26 +78,31 @@ int sceVoiceReadFromOPort(uint32_t output_port_id, void* data, uint32_t* size) { (void)output_port_id; (void)data; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceSetThreadsParams(void* params) { (void)params; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceSetVolume(uint32_t port_id, float volume) { (void)port_id; (void)volume; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceStart(const VoiceStartParam* param) { (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int sceVoiceStop(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -95,6 +111,7 @@ int sceVoiceWriteToIPort(uint32_t input_port_id, const void* data, uint32_t* siz (void)data; (void)size; (void)frame_gaps; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceVoiceQoS/Export.cpp b/core/libs/prx/libSceVoiceQoS/Export.cpp index 71da69777..2d888ca62 100644 --- a/core/libs/prx/libSceVoiceQoS/Export.cpp +++ b/core/libs/prx/libSceVoiceQoS/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int sceVoiceQoSInit(void* mem_block, uint32_t mem_size, int32_t app_type) { (void)mem_block; (void)mem_size; (void)app_type; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceWebBrowserDialog/Export.cpp b/core/libs/prx/libSceWebBrowserDialog/Export.cpp index 8fbc97f68..4f3fe629c 100644 --- a/core/libs/prx/libSceWebBrowserDialog/Export.cpp +++ b/core/libs/prx/libSceWebBrowserDialog/Export.cpp @@ -1,14 +1,17 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { int sceWebBrowserDialogInitialize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceWebBrowserDialogTerminate(void) { + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libc/src/CxxAbiSupport.cpp b/core/libs/prx/libc/src/CxxAbiSupport.cpp index 6651f968f..edfa329fa 100644 --- a/core/libs/prx/libc/src/CxxAbiSupport.cpp +++ b/core/libs/prx/libc/src/CxxAbiSupport.cpp @@ -17,14 +17,11 @@ extern "C" { void* __cxa_demangle_nid_postfix(const char* mangled, char* buf, std::size_t* len, int* status) { - (void)mangled; (void)buf; (void)len; - if (status) *status = -2; - return nullptr; + return abi::__cxa_demangle(mangled, buf, len, status); } int __cxa_thread_atexit_impl_nid_postfix(void (*func)(void*), void* arg, void* dso) { - (void)func; (void)arg; (void)dso; - return 0; + return __cxxabiv1::__cxa_thread_atexit(func, arg, dso); } void _ZNSt8ios_baseD2Ev_nid_postfix(std::ios_base* self) { self->~ios_base(); } diff --git a/core/libs/prx/libc/src/LocaleSupport.cpp b/core/libs/prx/libc/src/LocaleSupport.cpp index 9d8ea7295..576a66dba 100644 --- a/core/libs/prx/libc/src/LocaleSupport.cpp +++ b/core/libs/prx/libc/src/LocaleSupport.cpp @@ -47,6 +47,7 @@ void _ZNSt6locale5_InitEv_nid_postfix() { } void _ZNSt6locale5facet9_RegisterEv_nid_postfix() { + NotImplemented_nid_no_patch(__func__); } const std::locale* _ZNSt6locale16_GetgloballocaleEv_nid_postfix() { diff --git a/core/libs/prx/libc/src/Math.cpp b/core/libs/prx/libc/src/Math.cpp index 705e20d6f..661eab2bc 100644 --- a/core/libs/prx/libc/src/Math.cpp +++ b/core/libs/prx/libc/src/Math.cpp @@ -2,14 +2,14 @@ extern "C" { -double cbrt_nid_postfix(double x) { (void)x; return 0.0; } -double asin_nid_postfix(double x) { (void)x; return 0.0; } -double acos_nid_postfix(double x) { (void)x; return 0.0; } -double exp_nid_postfix(double x) { (void)x; return 0.0; } -double atan_nid_postfix(double x) { (void)x; return 0.0; } -double tan_nid_postfix(double x) { (void)x; return 0.0; } -double log2_nid_postfix(double x) { (void)x; return 0.0; } -double log_nid_postfix(double x) { (void)x; return 0.0; } +double cbrt_nid_postfix(double x) { return std::cbrt(x); } +double asin_nid_postfix(double x) { return std::asin(x); } +double acos_nid_postfix(double x) { return std::acos(x); } +double exp_nid_postfix(double x) { return std::exp(x); } +double atan_nid_postfix(double x) { return std::atan(x); } +double tan_nid_postfix(double x) { return std::tan(x); } +double log2_nid_postfix(double x) { return std::log2(x); } +double log_nid_postfix(double x) { return std::log(x); } float sinf_nid_postfix(float x) { return std::sin(x); } float cosf_nid_postfix(float x) { return std::cos(x); } diff --git a/core/libs/prx/libkernel/Export.cpp b/core/libs/prx/libkernel/Export.cpp index 52501c183..3fd46c680 100644 --- a/core/libs/prx/libkernel/Export.cpp +++ b/core/libs/prx/libkernel/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int accept_nid_postfix(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -15,29 +17,34 @@ int bind_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } int chmod_nid_postfix(const char* path, int mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int clock_getres(int clock_id, KernelTimespec* res) { (void)clock_id; (void)res; + NotImplemented_nid_no_patch(__func__); return 0; } int clock_gettime(int clock_id, KernelTimespec* time) { (void)clock_id; (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } int close_nid_postfix(int d) { (void)d; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -45,44 +52,53 @@ int connect_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } void exit_nid_postfix(int code) { (void)code; + NotImplemented_nid_no_patch(__func__); } int flock_nid_postfix(int d, int operation) { (void)d; (void)operation; + NotImplemented_nid_no_patch(__func__); return 0; } int64_t fstat_nid_disambig1_nid_postfix(int d, FileStat* sb) { (void)d; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } int ftruncate_nid_postfix(int d, int64_t length) { (void)d; (void)length; + NotImplemented_nid_no_patch(__func__); return 0; } int getargc_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } const char** getargv_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } int getpagesize_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int getpid_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -90,6 +106,7 @@ int getsockname_nid_postfix(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -99,12 +116,14 @@ int getsockopt_nid_postfix(int s, int level, int optname, void* optval, uint32_t (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } int gettimeofday(KernelTimeval* time, KernelTimezone* timezone) { (void)time; (void)timezone; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -113,6 +132,7 @@ const char* inet_ntop_nid_postfix(int af, const void* src, char* dst, uint32_t s (void)src; (void)dst; (void)size; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -120,12 +140,14 @@ int inet_pton_nid_postfix(int af, const char* src, void* dst) { (void)af; (void)src; (void)dst; + NotImplemented_nid_no_patch(__func__); return 0; } int listen_nid_postfix(int s, int backlog) { (void)s; (void)backlog; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -133,18 +155,21 @@ int64_t lseek_nid_postfix(int d, int64_t offset, int whence) { (void)d; (void)offset; (void)whence; + NotImplemented_nid_no_patch(__func__); return 0; } int mkdir_nid_postfix(const char* path, uint16_t mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int nanosleep_nid_postfix(const KernelTimespec* rqtp, KernelTimespec* rmtp) { (void)rqtp; (void)rmtp; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -152,6 +177,7 @@ int open_nid_postfix(const char* path, int flags, int mode) { (void)path; (void)flags; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -160,41 +186,48 @@ int64_t pread_nid_disambig1_nid_postfix(int d, void* buf, size_t nbytes, int64_t (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_destroy(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_get_np(Pthread thread, PthreadAttr* attr) { (void)thread; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getdetachstate(const PthreadAttr* attr, int* state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getguardsize(const PthreadAttr* attr, size_t* guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getschedparam(const PthreadAttr* attr, KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getschedpolicy(const PthreadAttr* attr, int* policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -202,69 +235,81 @@ int pthread_attr_getstack(const PthreadAttr* __restrict attr, void** __restrict (void)attr; (void)stack_addr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getstacksize(const PthreadAttr* attr, size_t* stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_init(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setdetachstate(PthreadAttr* attr, int state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setguardsize(PthreadAttr* attr, size_t guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setinheritsched(PthreadAttr* attr, int inherit_sched) { (void)attr; (void)inherit_sched; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setschedparam(PthreadAttr* attr, const KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setschedpolicy(PthreadAttr* attr, int policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setstacksize(PthreadAttr* attr, size_t stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_broadcast(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_init(PthreadCond* cond, const PthreadCondattr* attr) { (void)cond; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_signal(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -272,28 +317,33 @@ int pthread_cond_timedwait(PthreadCond* cond, PthreadMutex* mutex, const KernelT (void)cond; (void)mutex; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_wait(PthreadCond* cond, PthreadMutex* mutex) { (void)cond; (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_destroy(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_init(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_setclock(PthreadCondattr* attr, KernelClockid clock_id) { (void)attr; (void)clock_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -302,6 +352,7 @@ int pthread_create(Pthread* thread, const PthreadAttr* attr, pthread_entry_func_ (void)attr; (void)entry; (void)arg; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -311,142 +362,168 @@ int pthread_create_name_np(Pthread* thread, const PthreadAttr* attr, pthread_ent (void)entry; (void)arg; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_detach(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } void pthread_exit(void* value) { (void)value; + NotImplemented_nid_no_patch(__func__); } int pthread_getschedparam(Pthread thread, int* policy, KernelSchedParam* param) { (void)thread; (void)policy; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } void* pthread_getspecific(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return nullptr; } int pthread_join(Pthread thread, void** value) { (void)thread; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_key_create(PthreadKey* key, pthread_key_destructor_func_t destructor) { (void)key; (void)destructor; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_key_delete(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_destroy(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_init(PthreadMutex* mutex, const PthreadMutexattr* attr) { (void)mutex; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_lock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_timedlock(PthreadMutex* mutex, const KernelTimespec* abstime) { (void)mutex; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_trylock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_unlock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_destroy(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_init(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_setprotocol(PthreadMutexattr* attr, int protocol) { (void)attr; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_settype(PthreadMutexattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_once(void* once_control, void (*init_routine)()) { (void)once_control; (void)init_routine; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rename_np(Pthread thread, const char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_destroy(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_init(PthreadRwlock* rwlock, const PthreadRwlockattr* attr) { (void)rwlock; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_wrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } Pthread pthread_self(void) { + NotImplemented_nid_no_patch(__func__); return {}; } int pthread_setcancelstate(int state, int* old_state) { (void)state; (void)old_state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_setprio(Pthread thread, int prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -454,16 +531,19 @@ int pthread_setschedparam(Pthread thread, int policy, const KernelSchedParam* pa (void)thread; (void)policy; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_setspecific(PthreadKey key, void* value) { (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void pthread_yield(void) { + NotImplemented_nid_no_patch(__func__); } int64_t pwrite_nid_disambig1_nid_postfix(int d, const void* buf, size_t nbytes, int64_t offset) { @@ -471,6 +551,7 @@ int64_t pwrite_nid_disambig1_nid_postfix(int d, const void* buf, size_t nbytes, (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -478,6 +559,7 @@ int64_t read_nid_postfix(int d, void* buf, uint64_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -486,6 +568,7 @@ int64_t recv_nid_postfix(int s, void* buf, uint64_t len, int flags) { (void)buf; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -496,6 +579,7 @@ int64_t recvfrom_nid_postfix(int s, void* buf, uint64_t len, int flags, void* ad (void)flags; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -503,10 +587,12 @@ int sceCoredumpRegisterCoredumpHandler(uint64_t handler, size_t stack_size, uint (void)handler; (void)stack_size; (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceCoredumpUnregisterCoredumpHandler(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -514,6 +600,7 @@ int sceKernelAddAmprEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -522,35 +609,41 @@ int sceKernelAddHRTimerEvent(KernelEqueue eq, int id, const KernelTimespec* ts, (void)id; (void)ts; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAddUserEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAddUserEventEdge(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAioDeleteRequest(int32_t id, int32_t* ret) { (void)id; (void)ret; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAioInitializeImpl(void* param, int32_t size) { (void)param; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelAioInitializeParam(void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); } int sceKernelAioSubmitReadCommands(KernelAioRwRequest* req, int32_t size, int32_t prio, int32_t* id) { @@ -558,6 +651,7 @@ int sceKernelAioSubmitReadCommands(KernelAioRwRequest* req, int32_t size, int32_ (void)size; (void)prio; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -566,6 +660,7 @@ int sceKernelAioSubmitWriteCommands(KernelAioRwRequest* req, int32_t size, int32 (void)size; (void)prio; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -573,6 +668,7 @@ int sceKernelAioWaitRequest(int32_t id, int32_t* state, uint32_t* usec) { (void)id; (void)state; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -583,6 +679,7 @@ int sceKernelAllocateDirectMemory(int64_t search_start, int64_t search_end, size (void)alignment; (void)memory_type; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -591,6 +688,7 @@ int sceKernelAllocateMainDirectMemory(size_t len, size_t alignment, int memory_t (void)alignment; (void)memory_type; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -600,11 +698,13 @@ int sceKernelAvailableDirectMemorySize(int64_t search_start, int64_t search_end, (void)alignment; (void)phys_addr_out; (void)size_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAvailableFlexibleMemorySize(size_t* size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -612,6 +712,7 @@ int sceKernelBatchMap(KernelBatchMapEntry* entries, int num_entries, int* num_en (void)entries; (void)num_entries; (void)num_entries_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -620,6 +721,7 @@ int sceKernelBatchMap2(KernelBatchMapEntry* entries, int num_entries, int* num_e (void)num_entries; (void)num_entries_out; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -627,6 +729,7 @@ int sceKernelCancelEventFlag(KernelEventFlag ef, uint64_t set_pattern, int* num_ (void)ef; (void)set_pattern; (void)num_wait_threads; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -634,45 +737,53 @@ int sceKernelCancelSema(KernelSema sem, int count, int* threads) { (void)sem; (void)count; (void)threads; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCheckedReleaseDirectMemory(int64_t start, size_t len) { (void)start; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCheckReachability(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClearEventFlag(KernelEventFlag ef, uint64_t bit_pattern) { (void)ef; (void)bit_pattern; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClockGetres(KernelClockid clock_id, KernelTimespec* tp) { (void)clock_id; (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClockGettime(KernelClockid clock_id, KernelTimespec* tp) { (void)clock_id; (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClose(int d) { (void)d; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelConfiguredFlexibleMemorySize(size_t* size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -682,6 +793,7 @@ int sceKernelConvertLocaltimeToUtc(int64_t local_time, int64_t reserved, int64_t (void)utc_time; (void)timezone; (void)dst_seconds; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -690,12 +802,14 @@ int sceKernelConvertUtcToLocaltime(int64_t utc_time, int64_t* local_time, Kernel (void)local_time; (void)st; (void)dst_sec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCreateEqueue(KernelEqueue* eq, const char* name) { (void)eq; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -705,6 +819,7 @@ int sceKernelCreateEventFlag(KernelEventFlag* ef, const char* name, uint32_t att (void)attr; (void)init_pattern; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -715,49 +830,58 @@ int sceKernelCreateSema(KernelSema* sem, const char* name, uint32_t attr, int in (void)init; (void)max; (void)opt; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelDebugRaiseException(int c1, int c2) { (void)c1; (void)c2; + NotImplemented_nid_no_patch(__func__); } void sceKernelDebugRaiseExceptionOnReleaseMode(int c1, int c2) { (void)c1; (void)c2; + NotImplemented_nid_no_patch(__func__); } int sceKernelDeleteAmprEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteEqueue(KernelEqueue eq) { (void)eq; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteEventFlag(KernelEventFlag ef) { (void)ef; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteHRTimerEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteSema(KernelSema sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteUserEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -766,6 +890,7 @@ int sceKernelDirectMemoryQuery(int64_t offset, int flags, void* info, size_t inf (void)flags; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -773,21 +898,25 @@ int sceKernelDlsym(KernelModule handle, const char* symbol, void** addr) { (void)handle; (void)symbol; (void)addr; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelFstat(int d, FileStat* sb) { (void)d; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelFsync(int fd) { (void)fd; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetCurrentCpu(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -795,10 +924,12 @@ int sceKernelGetdents(int fd, char* buf, int nbytes) { (void)fd; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } size_t sceKernelGetDirectMemorySize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -807,40 +938,48 @@ int sceKernelGetdirentries(int fd, char* buf, int nbytes, int64_t* basep) { (void)buf; (void)nbytes; (void)basep; + NotImplemented_nid_no_patch(__func__); return 0; } intptr_t sceKernelGetEventData(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetEventError(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } intptr_t sceKernelGetEventFflags(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetEventFilter(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } uintptr_t sceKernelGetEventId(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceKernelGetEventUserData(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint64_t sceKernelGetGPI(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -848,6 +987,7 @@ int sceKernelGetModuleInfoForUnwind(uint64_t addr, int flags, ModuleInfoForUnwin (void)addr; (void)flags; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -855,11 +995,13 @@ int sceKernelGetModuleInfoFromAddr(uint64_t addr, int n, ModuleInfo* r) { (void)addr; (void)n; (void)r; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetOpenPsId(void* open_ps_id) { (void)open_ps_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -868,22 +1010,27 @@ int sceKernelGetPageTableStats(int* cpu_total, int* cpu_available, int* gpu_tota (void)cpu_available; (void)gpu_total; (void)gpu_available; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTime(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTimeCounter(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTimeCounterFrequency(void) { + NotImplemented_nid_no_patch(__func__); return 0; } void* sceKernelGetProcParam(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -891,38 +1038,46 @@ int sceKernelGetPrtAperture(int index, void** addr, size_t* len) { (void)index; (void)addr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } MallocReplace* sceKernelGetSanitizerMallocReplaceExternal(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } NewReplace* sceKernelGetSanitizerNewReplaceExternal(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceKernelGettimeofday(KernelTimeval* tp) { (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGettimezone(KernelTimezone* tz) { (void)tz; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetTscFrequency(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelInstallExceptionHandler(int signum, void* handler) { (void)signum; (void)handler; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelIsAddressSanitizerEnabled(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -930,6 +1085,7 @@ int sceKernelIsStack(void* addr, void** start, void** end) { (void)addr; (void)start; (void)end; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -940,6 +1096,7 @@ KernelModule sceKernelLoadStartModule(const char* module_file_name, size_t args, (void)flags; (void)opt; (void)res; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -947,6 +1104,7 @@ int64_t sceKernelLseek(int d, int64_t offset, int whence) { (void)d; (void)offset; (void)whence; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -957,6 +1115,7 @@ int sceKernelMapDirectMemory(void** addr, size_t len, int prot, int flags, int64 (void)flags; (void)direct_memory_start; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -968,6 +1127,7 @@ int sceKernelMapDirectMemory2(void** addr, size_t len, int type, int prot, int f (void)flags; (void)direct_memory_start; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -976,6 +1136,7 @@ int sceKernelMapFlexibleMemory(void** addr_in_out, size_t len, int prot, int fla (void)len; (void)prot; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -987,6 +1148,7 @@ int sceKernelMapNamedDirectMemory(void** addr, size_t len, int prot, int flags, (void)direct_memory_start; (void)alignment; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -996,6 +1158,7 @@ int32_t sceKernelMapNamedFlexibleMemory(void** addr_in_out, size_t len, int prot (void)prot; (void)flags; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1004,6 +1167,7 @@ int sceKernelMemoryPoolBatch(const KernelMemoryPoolBatchEntry* entries, int num_ (void)num_entries; (void)num_entries_out; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1013,6 +1177,7 @@ int sceKernelMemoryPoolCommit(void* addr, size_t len, int type, int prot, int fl (void)type; (void)prot; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1020,6 +1185,7 @@ int sceKernelMemoryPoolDecommit(void* addr, size_t len, int flags) { (void)addr; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1029,12 +1195,14 @@ int sceKernelMemoryPoolExpand(int64_t search_start, int64_t search_end, size_t l (void)len; (void)alignment; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMemoryPoolGetBlockStats(KernelMemoryPoolBlockStats* output, size_t output_size) { (void)output; (void)output_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1044,12 +1212,14 @@ int sceKernelMemoryPoolReserve(void* addr_in, size_t len, size_t alignment, int (void)alignment; (void)flags; (void)addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMkdir(const char* path, uint16_t mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1057,6 +1227,7 @@ int sceKernelMprotect(const void* addr, size_t len, int prot) { (void)addr; (void)len; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1065,18 +1236,21 @@ int sceKernelMtypeprotect(const void* addr, size_t len, int type, int prot) { (void)len; (void)type; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMunmap(uint64_t vaddr, size_t len) { (void)vaddr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelNanosleep(const KernelTimespec* rqtp, KernelTimespec* rmtp) { (void)rqtp; (void)rmtp; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1084,6 +1258,7 @@ int sceKernelOpen(const char* path, int flags, uint16_t mode) { (void)path; (void)flags; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1092,12 +1267,14 @@ int sceKernelPollEventFlag(KernelEventFlag ef, uint64_t bit_pattern, uint32_t wa (void)bit_pattern; (void)wait_mode; (void)result_pat; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelPollSema(KernelSema sem, int need) { (void)sem; (void)need; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1106,6 +1283,7 @@ int64_t sceKernelPread(int d, void* buf, size_t nbytes, int64_t offset) { (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1114,6 +1292,7 @@ int64_t sceKernelPwrite(int d, const void* buf, size_t nbytes, int64_t offset) { (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1122,12 +1301,14 @@ int sceKernelQueryMemoryProtection(void* addr, void** start, void** end, int* pr (void)start; (void)end; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRaiseException(Pthread thread, int signum) { (void)thread; (void)signum; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1135,27 +1316,32 @@ int64_t sceKernelRead(int d, void* buf, size_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelReadTsc(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelReleaseDirectMemory(int64_t start, size_t len) { (void)start; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRemoveExceptionHandler(int signum) { (void)signum; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRename(const char* from, const char* to) { (void)from; (void)to; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1164,78 +1350,93 @@ int sceKernelReserveVirtualRange(void** addr, size_t len, int flags, size_t alig (void)len; (void)flags; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRmdir(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelRtldSetApplicationHeapAPI(void* api[]) { (void)api; + NotImplemented_nid_no_patch(__func__); } int sceKernelRtldThreadAtexitDecrement(uint64_t* c) { (void)c; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRtldThreadAtexitIncrement(uint64_t* c) { (void)c; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelSetEventFlag(KernelEventFlag ef, uint64_t bit_pattern) { (void)ef; (void)bit_pattern; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSetGPO(uint32_t bits) { (void)bits; + NotImplemented_nid_no_patch(__func__); } int sceKernelSetPrtAperture(int index, void* addr, size_t len) { (void)index; (void)addr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSetThreadAtexitCount(get_thread_atexit_count_func_t func) { (void)func; + NotImplemented_nid_no_patch(__func__); } void sceKernelSetThreadAtexitReport(thread_atexit_report_func_t func) { (void)func; + NotImplemented_nid_no_patch(__func__); } void sceKernelSetThreadDtors(thread_dtors_func_t dtors) { (void)dtors; + NotImplemented_nid_no_patch(__func__); } int sceKernelSetVirtualRangeName(const void* addr, uint64_t len, const char* name) { (void)addr; (void)len; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelSignalSema(KernelSema sem, int count) { (void)sem; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } unsigned int sceKernelSleep(unsigned int seconds) { (void)seconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelStat(const char* path, FileStat* sb) { (void)path; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1246,31 +1447,37 @@ int sceKernelStopUnloadModule(KernelModule handle, size_t args, const void* argp (void)flags; (void)opt; (void)res; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSync(void) { + NotImplemented_nid_no_patch(__func__); } int sceKernelTriggerUserEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUnlink(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUsleep(KernelUseconds microseconds) { (void)microseconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUuidCreate(uint32_t* uuid) { (void)uuid; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1279,6 +1486,7 @@ int sceKernelVirtualQuery(const void* addr, int flags, VirtualQueryInfo* info, u (void)flags; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1288,6 +1496,7 @@ int sceKernelWaitEqueue(KernelEqueue eq, KernelEvent* ev, int num, int* out, con (void)num; (void)out; (void)timo; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1297,6 +1506,7 @@ int sceKernelWaitEventFlag(KernelEventFlag ef, uint64_t bit_pattern, uint32_t wa (void)wait_mode; (void)result_pat; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1304,6 +1514,7 @@ int sceKernelWaitSema(KernelSema sem, int need, KernelUseconds* time) { (void)sem; (void)need; (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1311,47 +1522,55 @@ int64_t sceKernelWrite(int d, const void* buf, size_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrDestroy(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGet(Pthread thread, PthreadAttr* attr) { (void)thread; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetaffinity(const PthreadAttr* attr, KernelCpumask* mask) { (void)attr; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetdetachstate(const PthreadAttr* attr, int* state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetguardsize(const PthreadAttr* attr, size_t* guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetschedparam(const PthreadAttr* attr, KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetsolosched(const PthreadAttr* attr, int* solosched) { (void)attr; (void)solosched; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1359,65 +1578,76 @@ int scePthreadAttrGetstack(const PthreadAttr* __restrict attr, void** __restrict (void)attr; (void)stack_addr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetstackaddr(const PthreadAttr* attr, void** stack_addr) { (void)attr; (void)stack_addr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetstacksize(const PthreadAttr* attr, size_t* stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrInit(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetaffinity(PthreadAttr* attr, KernelCpumask mask) { (void)attr; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetdetachstate(PthreadAttr* attr, int state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetguardsize(PthreadAttr* attr, size_t guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetinheritsched(PthreadAttr* attr, int inherit_sched) { (void)attr; (void)inherit_sched; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetschedparam(PthreadAttr* attr, const KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetschedpolicy(PthreadAttr* attr, int policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetsolosched(PthreadAttr* attr, int solosched) { (void)attr; (void)solosched; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1425,43 +1655,51 @@ int scePthreadAttrSetstack(PthreadAttr* attr, void* addr, size_t size) { (void)attr; (void)addr; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetstackaddr(PthreadAttr* attr, void* addr) { (void)attr; (void)addr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetstacksize(PthreadAttr* attr, size_t stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCancel(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondattrDestroy(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondattrInit(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondBroadcast(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondDestroy(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1469,17 +1707,20 @@ int scePthreadCondInit(PthreadCond* cond, const PthreadCondattr* attr, const cha (void)cond; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondSignal(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondSignalto(PthreadCond* cond, Pthread thread) { (void)cond; (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1487,12 +1728,14 @@ int scePthreadCondTimedwait(PthreadCond* cond, PthreadMutex* mutex, KernelUsecon (void)cond; (void)mutex; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondWait(PthreadCond* cond, PthreadMutex* mutex) { (void)cond; (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1502,92 +1745,109 @@ int scePthreadCreate(Pthread* thread, const PthreadAttr* attr, pthread_entry_fun (void)entry; (void)arg; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadDetach(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadEqual(Pthread thread1, Pthread thread2) { (void)thread1; (void)thread2; + NotImplemented_nid_no_patch(__func__); return 0; } void scePthreadExit(void* value) { (void)value; + NotImplemented_nid_no_patch(__func__); } int scePthreadGetaffinity(Pthread thread, KernelCpumask* mask) { (void)thread; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadGetname(Pthread thread, char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadGetprio(Pthread thread, int* prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } void* scePthreadGetspecific(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return nullptr; } int scePthreadGetthreadid(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadJoin(Pthread thread, void** value) { (void)thread; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadKeyCreate(PthreadKey* key, pthread_key_destructor_func_t destructor) { (void)key; (void)destructor; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadKeyDelete(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrDestroy(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrInit(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrSetprotocol(PthreadMutexattr* attr, int protocol) { (void)attr; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrSettype(PthreadMutexattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexDestroy(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1595,54 +1855,64 @@ int scePthreadMutexInit(PthreadMutex* mutex, const PthreadMutexattr* attr, const (void)mutex; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexLock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexTimedlock(PthreadMutex* mutex, KernelUseconds usec) { (void)mutex; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexTrylock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexUnlock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRename(Pthread thread, const char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrDestroy(PthreadRwlockattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrInit(PthreadRwlockattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrSettype(PthreadRwlockattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockDestroy(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1650,46 +1920,55 @@ int scePthreadRwlockInit(PthreadRwlock* rwlock, const PthreadRwlockattr* attr, c (void)rwlock; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockRdlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockTryrdlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockTrywrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockUnlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockWrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } Pthread scePthreadSelf(void) { + NotImplemented_nid_no_patch(__func__); return {}; } int scePthreadSemDestroy(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemGetvalue(void* sem, int* value) { (void)sem; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1698,70 +1977,83 @@ int scePthreadSemInit(void* sem, int flag, unsigned int value, const char* name) (void)flag; (void)value; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemPost(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemTimedwait(void* sem, KernelUseconds usec) { (void)sem; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemTrywait(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemWait(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetaffinity(Pthread thread, KernelCpumask mask) { (void)thread; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetcancelstate(int state, int* old_state) { (void)state; (void)old_state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetcanceltype(int type, int* old_type) { (void)type; (void)old_type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetprio(Pthread thread, int prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetspecific(PthreadKey key, void* value) { (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void scePthreadYield(void) { + NotImplemented_nid_no_patch(__func__); } int sched_get_priority_max(int policy) { (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int sched_get_priority_min(int policy) { (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1771,17 +2063,20 @@ int select_nid_postfix(int nfds, void* readfds, void* writefds, void* exceptfds, (void)writefds; (void)exceptfds; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_destroy_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_getvalue(void* sem, int* value) { (void)sem; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1789,33 +2084,39 @@ int sem_init_nid_postfix(void* sem, int pshared, unsigned int value) { (void)sem; (void)pshared; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_post_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_reltimedwait_np(void* sem, uint32_t usec) { (void)sem; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_timedwait(void* sem, const KernelTimespec* abstime) { (void)sem; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_trywait_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_wait_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1824,6 +2125,7 @@ int64_t send_nid_postfix(int s, const void* buf, uint64_t len, int flags) { (void)buf; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1834,6 +2136,7 @@ int64_t sendto_nid_postfix(int s, const void* buf, uint64_t len, int flags, cons (void)flags; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1843,6 +2146,7 @@ int setsockopt_nid_postfix(int s, int level, int optname, const void* optval, ui (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1850,6 +2154,7 @@ int sigprocmask_nid_postfix(int how, const void* set, void* oset) { (void)how; (void)set; (void)oset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1857,12 +2162,14 @@ int socket_nid_postfix(int family, int type, int protocol) { (void)family; (void)type; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int stat_nid_postfix(const char* path, FileStat* sb) { (void)path; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1870,6 +2177,7 @@ int64_t write_nid_postfix(int d, const char* str, int64_t size) { (void)d; (void)str; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libkernel_sys/Export.cpp b/core/libs/prx/libkernel_sys/Export.cpp index 52501c183..3fd46c680 100644 --- a/core/libs/prx/libkernel_sys/Export.cpp +++ b/core/libs/prx/libkernel_sys/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int accept_nid_postfix(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -15,29 +17,34 @@ int bind_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } int chmod_nid_postfix(const char* path, int mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int clock_getres(int clock_id, KernelTimespec* res) { (void)clock_id; (void)res; + NotImplemented_nid_no_patch(__func__); return 0; } int clock_gettime(int clock_id, KernelTimespec* time) { (void)clock_id; (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } int close_nid_postfix(int d) { (void)d; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -45,44 +52,53 @@ int connect_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } void exit_nid_postfix(int code) { (void)code; + NotImplemented_nid_no_patch(__func__); } int flock_nid_postfix(int d, int operation) { (void)d; (void)operation; + NotImplemented_nid_no_patch(__func__); return 0; } int64_t fstat_nid_disambig1_nid_postfix(int d, FileStat* sb) { (void)d; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } int ftruncate_nid_postfix(int d, int64_t length) { (void)d; (void)length; + NotImplemented_nid_no_patch(__func__); return 0; } int getargc_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } const char** getargv_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } int getpagesize_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int getpid_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -90,6 +106,7 @@ int getsockname_nid_postfix(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -99,12 +116,14 @@ int getsockopt_nid_postfix(int s, int level, int optname, void* optval, uint32_t (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } int gettimeofday(KernelTimeval* time, KernelTimezone* timezone) { (void)time; (void)timezone; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -113,6 +132,7 @@ const char* inet_ntop_nid_postfix(int af, const void* src, char* dst, uint32_t s (void)src; (void)dst; (void)size; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -120,12 +140,14 @@ int inet_pton_nid_postfix(int af, const char* src, void* dst) { (void)af; (void)src; (void)dst; + NotImplemented_nid_no_patch(__func__); return 0; } int listen_nid_postfix(int s, int backlog) { (void)s; (void)backlog; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -133,18 +155,21 @@ int64_t lseek_nid_postfix(int d, int64_t offset, int whence) { (void)d; (void)offset; (void)whence; + NotImplemented_nid_no_patch(__func__); return 0; } int mkdir_nid_postfix(const char* path, uint16_t mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int nanosleep_nid_postfix(const KernelTimespec* rqtp, KernelTimespec* rmtp) { (void)rqtp; (void)rmtp; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -152,6 +177,7 @@ int open_nid_postfix(const char* path, int flags, int mode) { (void)path; (void)flags; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -160,41 +186,48 @@ int64_t pread_nid_disambig1_nid_postfix(int d, void* buf, size_t nbytes, int64_t (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_destroy(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_get_np(Pthread thread, PthreadAttr* attr) { (void)thread; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getdetachstate(const PthreadAttr* attr, int* state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getguardsize(const PthreadAttr* attr, size_t* guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getschedparam(const PthreadAttr* attr, KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getschedpolicy(const PthreadAttr* attr, int* policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -202,69 +235,81 @@ int pthread_attr_getstack(const PthreadAttr* __restrict attr, void** __restrict (void)attr; (void)stack_addr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getstacksize(const PthreadAttr* attr, size_t* stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_init(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setdetachstate(PthreadAttr* attr, int state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setguardsize(PthreadAttr* attr, size_t guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setinheritsched(PthreadAttr* attr, int inherit_sched) { (void)attr; (void)inherit_sched; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setschedparam(PthreadAttr* attr, const KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setschedpolicy(PthreadAttr* attr, int policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setstacksize(PthreadAttr* attr, size_t stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_broadcast(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_init(PthreadCond* cond, const PthreadCondattr* attr) { (void)cond; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_signal(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -272,28 +317,33 @@ int pthread_cond_timedwait(PthreadCond* cond, PthreadMutex* mutex, const KernelT (void)cond; (void)mutex; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_wait(PthreadCond* cond, PthreadMutex* mutex) { (void)cond; (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_destroy(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_init(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_setclock(PthreadCondattr* attr, KernelClockid clock_id) { (void)attr; (void)clock_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -302,6 +352,7 @@ int pthread_create(Pthread* thread, const PthreadAttr* attr, pthread_entry_func_ (void)attr; (void)entry; (void)arg; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -311,142 +362,168 @@ int pthread_create_name_np(Pthread* thread, const PthreadAttr* attr, pthread_ent (void)entry; (void)arg; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_detach(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } void pthread_exit(void* value) { (void)value; + NotImplemented_nid_no_patch(__func__); } int pthread_getschedparam(Pthread thread, int* policy, KernelSchedParam* param) { (void)thread; (void)policy; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } void* pthread_getspecific(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return nullptr; } int pthread_join(Pthread thread, void** value) { (void)thread; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_key_create(PthreadKey* key, pthread_key_destructor_func_t destructor) { (void)key; (void)destructor; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_key_delete(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_destroy(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_init(PthreadMutex* mutex, const PthreadMutexattr* attr) { (void)mutex; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_lock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_timedlock(PthreadMutex* mutex, const KernelTimespec* abstime) { (void)mutex; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_trylock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_unlock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_destroy(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_init(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_setprotocol(PthreadMutexattr* attr, int protocol) { (void)attr; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_settype(PthreadMutexattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_once(void* once_control, void (*init_routine)()) { (void)once_control; (void)init_routine; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rename_np(Pthread thread, const char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_destroy(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_init(PthreadRwlock* rwlock, const PthreadRwlockattr* attr) { (void)rwlock; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_wrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } Pthread pthread_self(void) { + NotImplemented_nid_no_patch(__func__); return {}; } int pthread_setcancelstate(int state, int* old_state) { (void)state; (void)old_state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_setprio(Pthread thread, int prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -454,16 +531,19 @@ int pthread_setschedparam(Pthread thread, int policy, const KernelSchedParam* pa (void)thread; (void)policy; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_setspecific(PthreadKey key, void* value) { (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void pthread_yield(void) { + NotImplemented_nid_no_patch(__func__); } int64_t pwrite_nid_disambig1_nid_postfix(int d, const void* buf, size_t nbytes, int64_t offset) { @@ -471,6 +551,7 @@ int64_t pwrite_nid_disambig1_nid_postfix(int d, const void* buf, size_t nbytes, (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -478,6 +559,7 @@ int64_t read_nid_postfix(int d, void* buf, uint64_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -486,6 +568,7 @@ int64_t recv_nid_postfix(int s, void* buf, uint64_t len, int flags) { (void)buf; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -496,6 +579,7 @@ int64_t recvfrom_nid_postfix(int s, void* buf, uint64_t len, int flags, void* ad (void)flags; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -503,10 +587,12 @@ int sceCoredumpRegisterCoredumpHandler(uint64_t handler, size_t stack_size, uint (void)handler; (void)stack_size; (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceCoredumpUnregisterCoredumpHandler(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -514,6 +600,7 @@ int sceKernelAddAmprEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -522,35 +609,41 @@ int sceKernelAddHRTimerEvent(KernelEqueue eq, int id, const KernelTimespec* ts, (void)id; (void)ts; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAddUserEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAddUserEventEdge(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAioDeleteRequest(int32_t id, int32_t* ret) { (void)id; (void)ret; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAioInitializeImpl(void* param, int32_t size) { (void)param; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelAioInitializeParam(void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); } int sceKernelAioSubmitReadCommands(KernelAioRwRequest* req, int32_t size, int32_t prio, int32_t* id) { @@ -558,6 +651,7 @@ int sceKernelAioSubmitReadCommands(KernelAioRwRequest* req, int32_t size, int32_ (void)size; (void)prio; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -566,6 +660,7 @@ int sceKernelAioSubmitWriteCommands(KernelAioRwRequest* req, int32_t size, int32 (void)size; (void)prio; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -573,6 +668,7 @@ int sceKernelAioWaitRequest(int32_t id, int32_t* state, uint32_t* usec) { (void)id; (void)state; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -583,6 +679,7 @@ int sceKernelAllocateDirectMemory(int64_t search_start, int64_t search_end, size (void)alignment; (void)memory_type; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -591,6 +688,7 @@ int sceKernelAllocateMainDirectMemory(size_t len, size_t alignment, int memory_t (void)alignment; (void)memory_type; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -600,11 +698,13 @@ int sceKernelAvailableDirectMemorySize(int64_t search_start, int64_t search_end, (void)alignment; (void)phys_addr_out; (void)size_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAvailableFlexibleMemorySize(size_t* size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -612,6 +712,7 @@ int sceKernelBatchMap(KernelBatchMapEntry* entries, int num_entries, int* num_en (void)entries; (void)num_entries; (void)num_entries_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -620,6 +721,7 @@ int sceKernelBatchMap2(KernelBatchMapEntry* entries, int num_entries, int* num_e (void)num_entries; (void)num_entries_out; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -627,6 +729,7 @@ int sceKernelCancelEventFlag(KernelEventFlag ef, uint64_t set_pattern, int* num_ (void)ef; (void)set_pattern; (void)num_wait_threads; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -634,45 +737,53 @@ int sceKernelCancelSema(KernelSema sem, int count, int* threads) { (void)sem; (void)count; (void)threads; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCheckedReleaseDirectMemory(int64_t start, size_t len) { (void)start; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCheckReachability(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClearEventFlag(KernelEventFlag ef, uint64_t bit_pattern) { (void)ef; (void)bit_pattern; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClockGetres(KernelClockid clock_id, KernelTimespec* tp) { (void)clock_id; (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClockGettime(KernelClockid clock_id, KernelTimespec* tp) { (void)clock_id; (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClose(int d) { (void)d; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelConfiguredFlexibleMemorySize(size_t* size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -682,6 +793,7 @@ int sceKernelConvertLocaltimeToUtc(int64_t local_time, int64_t reserved, int64_t (void)utc_time; (void)timezone; (void)dst_seconds; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -690,12 +802,14 @@ int sceKernelConvertUtcToLocaltime(int64_t utc_time, int64_t* local_time, Kernel (void)local_time; (void)st; (void)dst_sec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCreateEqueue(KernelEqueue* eq, const char* name) { (void)eq; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -705,6 +819,7 @@ int sceKernelCreateEventFlag(KernelEventFlag* ef, const char* name, uint32_t att (void)attr; (void)init_pattern; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -715,49 +830,58 @@ int sceKernelCreateSema(KernelSema* sem, const char* name, uint32_t attr, int in (void)init; (void)max; (void)opt; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelDebugRaiseException(int c1, int c2) { (void)c1; (void)c2; + NotImplemented_nid_no_patch(__func__); } void sceKernelDebugRaiseExceptionOnReleaseMode(int c1, int c2) { (void)c1; (void)c2; + NotImplemented_nid_no_patch(__func__); } int sceKernelDeleteAmprEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteEqueue(KernelEqueue eq) { (void)eq; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteEventFlag(KernelEventFlag ef) { (void)ef; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteHRTimerEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteSema(KernelSema sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteUserEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -766,6 +890,7 @@ int sceKernelDirectMemoryQuery(int64_t offset, int flags, void* info, size_t inf (void)flags; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -773,21 +898,25 @@ int sceKernelDlsym(KernelModule handle, const char* symbol, void** addr) { (void)handle; (void)symbol; (void)addr; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelFstat(int d, FileStat* sb) { (void)d; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelFsync(int fd) { (void)fd; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetCurrentCpu(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -795,10 +924,12 @@ int sceKernelGetdents(int fd, char* buf, int nbytes) { (void)fd; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } size_t sceKernelGetDirectMemorySize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -807,40 +938,48 @@ int sceKernelGetdirentries(int fd, char* buf, int nbytes, int64_t* basep) { (void)buf; (void)nbytes; (void)basep; + NotImplemented_nid_no_patch(__func__); return 0; } intptr_t sceKernelGetEventData(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetEventError(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } intptr_t sceKernelGetEventFflags(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetEventFilter(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } uintptr_t sceKernelGetEventId(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceKernelGetEventUserData(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint64_t sceKernelGetGPI(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -848,6 +987,7 @@ int sceKernelGetModuleInfoForUnwind(uint64_t addr, int flags, ModuleInfoForUnwin (void)addr; (void)flags; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -855,11 +995,13 @@ int sceKernelGetModuleInfoFromAddr(uint64_t addr, int n, ModuleInfo* r) { (void)addr; (void)n; (void)r; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetOpenPsId(void* open_ps_id) { (void)open_ps_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -868,22 +1010,27 @@ int sceKernelGetPageTableStats(int* cpu_total, int* cpu_available, int* gpu_tota (void)cpu_available; (void)gpu_total; (void)gpu_available; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTime(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTimeCounter(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTimeCounterFrequency(void) { + NotImplemented_nid_no_patch(__func__); return 0; } void* sceKernelGetProcParam(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -891,38 +1038,46 @@ int sceKernelGetPrtAperture(int index, void** addr, size_t* len) { (void)index; (void)addr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } MallocReplace* sceKernelGetSanitizerMallocReplaceExternal(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } NewReplace* sceKernelGetSanitizerNewReplaceExternal(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceKernelGettimeofday(KernelTimeval* tp) { (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGettimezone(KernelTimezone* tz) { (void)tz; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetTscFrequency(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelInstallExceptionHandler(int signum, void* handler) { (void)signum; (void)handler; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelIsAddressSanitizerEnabled(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -930,6 +1085,7 @@ int sceKernelIsStack(void* addr, void** start, void** end) { (void)addr; (void)start; (void)end; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -940,6 +1096,7 @@ KernelModule sceKernelLoadStartModule(const char* module_file_name, size_t args, (void)flags; (void)opt; (void)res; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -947,6 +1104,7 @@ int64_t sceKernelLseek(int d, int64_t offset, int whence) { (void)d; (void)offset; (void)whence; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -957,6 +1115,7 @@ int sceKernelMapDirectMemory(void** addr, size_t len, int prot, int flags, int64 (void)flags; (void)direct_memory_start; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -968,6 +1127,7 @@ int sceKernelMapDirectMemory2(void** addr, size_t len, int type, int prot, int f (void)flags; (void)direct_memory_start; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -976,6 +1136,7 @@ int sceKernelMapFlexibleMemory(void** addr_in_out, size_t len, int prot, int fla (void)len; (void)prot; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -987,6 +1148,7 @@ int sceKernelMapNamedDirectMemory(void** addr, size_t len, int prot, int flags, (void)direct_memory_start; (void)alignment; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -996,6 +1158,7 @@ int32_t sceKernelMapNamedFlexibleMemory(void** addr_in_out, size_t len, int prot (void)prot; (void)flags; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1004,6 +1167,7 @@ int sceKernelMemoryPoolBatch(const KernelMemoryPoolBatchEntry* entries, int num_ (void)num_entries; (void)num_entries_out; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1013,6 +1177,7 @@ int sceKernelMemoryPoolCommit(void* addr, size_t len, int type, int prot, int fl (void)type; (void)prot; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1020,6 +1185,7 @@ int sceKernelMemoryPoolDecommit(void* addr, size_t len, int flags) { (void)addr; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1029,12 +1195,14 @@ int sceKernelMemoryPoolExpand(int64_t search_start, int64_t search_end, size_t l (void)len; (void)alignment; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMemoryPoolGetBlockStats(KernelMemoryPoolBlockStats* output, size_t output_size) { (void)output; (void)output_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1044,12 +1212,14 @@ int sceKernelMemoryPoolReserve(void* addr_in, size_t len, size_t alignment, int (void)alignment; (void)flags; (void)addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMkdir(const char* path, uint16_t mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1057,6 +1227,7 @@ int sceKernelMprotect(const void* addr, size_t len, int prot) { (void)addr; (void)len; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1065,18 +1236,21 @@ int sceKernelMtypeprotect(const void* addr, size_t len, int type, int prot) { (void)len; (void)type; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMunmap(uint64_t vaddr, size_t len) { (void)vaddr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelNanosleep(const KernelTimespec* rqtp, KernelTimespec* rmtp) { (void)rqtp; (void)rmtp; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1084,6 +1258,7 @@ int sceKernelOpen(const char* path, int flags, uint16_t mode) { (void)path; (void)flags; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1092,12 +1267,14 @@ int sceKernelPollEventFlag(KernelEventFlag ef, uint64_t bit_pattern, uint32_t wa (void)bit_pattern; (void)wait_mode; (void)result_pat; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelPollSema(KernelSema sem, int need) { (void)sem; (void)need; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1106,6 +1283,7 @@ int64_t sceKernelPread(int d, void* buf, size_t nbytes, int64_t offset) { (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1114,6 +1292,7 @@ int64_t sceKernelPwrite(int d, const void* buf, size_t nbytes, int64_t offset) { (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1122,12 +1301,14 @@ int sceKernelQueryMemoryProtection(void* addr, void** start, void** end, int* pr (void)start; (void)end; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRaiseException(Pthread thread, int signum) { (void)thread; (void)signum; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1135,27 +1316,32 @@ int64_t sceKernelRead(int d, void* buf, size_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelReadTsc(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelReleaseDirectMemory(int64_t start, size_t len) { (void)start; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRemoveExceptionHandler(int signum) { (void)signum; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRename(const char* from, const char* to) { (void)from; (void)to; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1164,78 +1350,93 @@ int sceKernelReserveVirtualRange(void** addr, size_t len, int flags, size_t alig (void)len; (void)flags; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRmdir(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelRtldSetApplicationHeapAPI(void* api[]) { (void)api; + NotImplemented_nid_no_patch(__func__); } int sceKernelRtldThreadAtexitDecrement(uint64_t* c) { (void)c; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRtldThreadAtexitIncrement(uint64_t* c) { (void)c; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelSetEventFlag(KernelEventFlag ef, uint64_t bit_pattern) { (void)ef; (void)bit_pattern; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSetGPO(uint32_t bits) { (void)bits; + NotImplemented_nid_no_patch(__func__); } int sceKernelSetPrtAperture(int index, void* addr, size_t len) { (void)index; (void)addr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSetThreadAtexitCount(get_thread_atexit_count_func_t func) { (void)func; + NotImplemented_nid_no_patch(__func__); } void sceKernelSetThreadAtexitReport(thread_atexit_report_func_t func) { (void)func; + NotImplemented_nid_no_patch(__func__); } void sceKernelSetThreadDtors(thread_dtors_func_t dtors) { (void)dtors; + NotImplemented_nid_no_patch(__func__); } int sceKernelSetVirtualRangeName(const void* addr, uint64_t len, const char* name) { (void)addr; (void)len; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelSignalSema(KernelSema sem, int count) { (void)sem; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } unsigned int sceKernelSleep(unsigned int seconds) { (void)seconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelStat(const char* path, FileStat* sb) { (void)path; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1246,31 +1447,37 @@ int sceKernelStopUnloadModule(KernelModule handle, size_t args, const void* argp (void)flags; (void)opt; (void)res; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSync(void) { + NotImplemented_nid_no_patch(__func__); } int sceKernelTriggerUserEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUnlink(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUsleep(KernelUseconds microseconds) { (void)microseconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUuidCreate(uint32_t* uuid) { (void)uuid; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1279,6 +1486,7 @@ int sceKernelVirtualQuery(const void* addr, int flags, VirtualQueryInfo* info, u (void)flags; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1288,6 +1496,7 @@ int sceKernelWaitEqueue(KernelEqueue eq, KernelEvent* ev, int num, int* out, con (void)num; (void)out; (void)timo; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1297,6 +1506,7 @@ int sceKernelWaitEventFlag(KernelEventFlag ef, uint64_t bit_pattern, uint32_t wa (void)wait_mode; (void)result_pat; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1304,6 +1514,7 @@ int sceKernelWaitSema(KernelSema sem, int need, KernelUseconds* time) { (void)sem; (void)need; (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1311,47 +1522,55 @@ int64_t sceKernelWrite(int d, const void* buf, size_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrDestroy(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGet(Pthread thread, PthreadAttr* attr) { (void)thread; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetaffinity(const PthreadAttr* attr, KernelCpumask* mask) { (void)attr; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetdetachstate(const PthreadAttr* attr, int* state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetguardsize(const PthreadAttr* attr, size_t* guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetschedparam(const PthreadAttr* attr, KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetsolosched(const PthreadAttr* attr, int* solosched) { (void)attr; (void)solosched; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1359,65 +1578,76 @@ int scePthreadAttrGetstack(const PthreadAttr* __restrict attr, void** __restrict (void)attr; (void)stack_addr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetstackaddr(const PthreadAttr* attr, void** stack_addr) { (void)attr; (void)stack_addr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetstacksize(const PthreadAttr* attr, size_t* stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrInit(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetaffinity(PthreadAttr* attr, KernelCpumask mask) { (void)attr; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetdetachstate(PthreadAttr* attr, int state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetguardsize(PthreadAttr* attr, size_t guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetinheritsched(PthreadAttr* attr, int inherit_sched) { (void)attr; (void)inherit_sched; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetschedparam(PthreadAttr* attr, const KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetschedpolicy(PthreadAttr* attr, int policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetsolosched(PthreadAttr* attr, int solosched) { (void)attr; (void)solosched; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1425,43 +1655,51 @@ int scePthreadAttrSetstack(PthreadAttr* attr, void* addr, size_t size) { (void)attr; (void)addr; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetstackaddr(PthreadAttr* attr, void* addr) { (void)attr; (void)addr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetstacksize(PthreadAttr* attr, size_t stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCancel(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondattrDestroy(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondattrInit(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondBroadcast(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondDestroy(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1469,17 +1707,20 @@ int scePthreadCondInit(PthreadCond* cond, const PthreadCondattr* attr, const cha (void)cond; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondSignal(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondSignalto(PthreadCond* cond, Pthread thread) { (void)cond; (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1487,12 +1728,14 @@ int scePthreadCondTimedwait(PthreadCond* cond, PthreadMutex* mutex, KernelUsecon (void)cond; (void)mutex; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondWait(PthreadCond* cond, PthreadMutex* mutex) { (void)cond; (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1502,92 +1745,109 @@ int scePthreadCreate(Pthread* thread, const PthreadAttr* attr, pthread_entry_fun (void)entry; (void)arg; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadDetach(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadEqual(Pthread thread1, Pthread thread2) { (void)thread1; (void)thread2; + NotImplemented_nid_no_patch(__func__); return 0; } void scePthreadExit(void* value) { (void)value; + NotImplemented_nid_no_patch(__func__); } int scePthreadGetaffinity(Pthread thread, KernelCpumask* mask) { (void)thread; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadGetname(Pthread thread, char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadGetprio(Pthread thread, int* prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } void* scePthreadGetspecific(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return nullptr; } int scePthreadGetthreadid(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadJoin(Pthread thread, void** value) { (void)thread; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadKeyCreate(PthreadKey* key, pthread_key_destructor_func_t destructor) { (void)key; (void)destructor; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadKeyDelete(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrDestroy(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrInit(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrSetprotocol(PthreadMutexattr* attr, int protocol) { (void)attr; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrSettype(PthreadMutexattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexDestroy(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1595,54 +1855,64 @@ int scePthreadMutexInit(PthreadMutex* mutex, const PthreadMutexattr* attr, const (void)mutex; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexLock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexTimedlock(PthreadMutex* mutex, KernelUseconds usec) { (void)mutex; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexTrylock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexUnlock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRename(Pthread thread, const char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrDestroy(PthreadRwlockattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrInit(PthreadRwlockattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrSettype(PthreadRwlockattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockDestroy(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1650,46 +1920,55 @@ int scePthreadRwlockInit(PthreadRwlock* rwlock, const PthreadRwlockattr* attr, c (void)rwlock; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockRdlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockTryrdlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockTrywrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockUnlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockWrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } Pthread scePthreadSelf(void) { + NotImplemented_nid_no_patch(__func__); return {}; } int scePthreadSemDestroy(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemGetvalue(void* sem, int* value) { (void)sem; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1698,70 +1977,83 @@ int scePthreadSemInit(void* sem, int flag, unsigned int value, const char* name) (void)flag; (void)value; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemPost(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemTimedwait(void* sem, KernelUseconds usec) { (void)sem; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemTrywait(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemWait(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetaffinity(Pthread thread, KernelCpumask mask) { (void)thread; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetcancelstate(int state, int* old_state) { (void)state; (void)old_state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetcanceltype(int type, int* old_type) { (void)type; (void)old_type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetprio(Pthread thread, int prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetspecific(PthreadKey key, void* value) { (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void scePthreadYield(void) { + NotImplemented_nid_no_patch(__func__); } int sched_get_priority_max(int policy) { (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int sched_get_priority_min(int policy) { (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1771,17 +2063,20 @@ int select_nid_postfix(int nfds, void* readfds, void* writefds, void* exceptfds, (void)writefds; (void)exceptfds; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_destroy_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_getvalue(void* sem, int* value) { (void)sem; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1789,33 +2084,39 @@ int sem_init_nid_postfix(void* sem, int pshared, unsigned int value) { (void)sem; (void)pshared; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_post_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_reltimedwait_np(void* sem, uint32_t usec) { (void)sem; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_timedwait(void* sem, const KernelTimespec* abstime) { (void)sem; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_trywait_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_wait_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1824,6 +2125,7 @@ int64_t send_nid_postfix(int s, const void* buf, uint64_t len, int flags) { (void)buf; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1834,6 +2136,7 @@ int64_t sendto_nid_postfix(int s, const void* buf, uint64_t len, int flags, cons (void)flags; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1843,6 +2146,7 @@ int setsockopt_nid_postfix(int s, int level, int optname, const void* optval, ui (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1850,6 +2154,7 @@ int sigprocmask_nid_postfix(int how, const void* set, void* oset) { (void)how; (void)set; (void)oset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1857,12 +2162,14 @@ int socket_nid_postfix(int family, int type, int protocol) { (void)family; (void)type; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int stat_nid_postfix(const char* path, FileStat* sb) { (void)path; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1870,6 +2177,7 @@ int64_t write_nid_postfix(int d, const char* str, int64_t size) { (void)d; (void)str; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libkernel_web/Export.cpp b/core/libs/prx/libkernel_web/Export.cpp index 52501c183..3fd46c680 100644 --- a/core/libs/prx/libkernel_web/Export.cpp +++ b/core/libs/prx/libkernel_web/Export.cpp @@ -1,6 +1,7 @@ #include #include #include "SceTypes.hpp" +#include "prx/libc/include/General.hpp" extern "C" { @@ -8,6 +9,7 @@ int accept_nid_postfix(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -15,29 +17,34 @@ int bind_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } int chmod_nid_postfix(const char* path, int mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int clock_getres(int clock_id, KernelTimespec* res) { (void)clock_id; (void)res; + NotImplemented_nid_no_patch(__func__); return 0; } int clock_gettime(int clock_id, KernelTimespec* time) { (void)clock_id; (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } int close_nid_postfix(int d) { (void)d; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -45,44 +52,53 @@ int connect_nid_postfix(int s, const void* addr, uint32_t addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } void exit_nid_postfix(int code) { (void)code; + NotImplemented_nid_no_patch(__func__); } int flock_nid_postfix(int d, int operation) { (void)d; (void)operation; + NotImplemented_nid_no_patch(__func__); return 0; } int64_t fstat_nid_disambig1_nid_postfix(int d, FileStat* sb) { (void)d; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } int ftruncate_nid_postfix(int d, int64_t length) { (void)d; (void)length; + NotImplemented_nid_no_patch(__func__); return 0; } int getargc_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } const char** getargv_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } int getpagesize_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int getpid_nid_postfix(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -90,6 +106,7 @@ int getsockname_nid_postfix(int s, void* addr, uint32_t* addrlen) { (void)s; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -99,12 +116,14 @@ int getsockopt_nid_postfix(int s, int level, int optname, void* optval, uint32_t (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } int gettimeofday(KernelTimeval* time, KernelTimezone* timezone) { (void)time; (void)timezone; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -113,6 +132,7 @@ const char* inet_ntop_nid_postfix(int af, const void* src, char* dst, uint32_t s (void)src; (void)dst; (void)size; + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -120,12 +140,14 @@ int inet_pton_nid_postfix(int af, const char* src, void* dst) { (void)af; (void)src; (void)dst; + NotImplemented_nid_no_patch(__func__); return 0; } int listen_nid_postfix(int s, int backlog) { (void)s; (void)backlog; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -133,18 +155,21 @@ int64_t lseek_nid_postfix(int d, int64_t offset, int whence) { (void)d; (void)offset; (void)whence; + NotImplemented_nid_no_patch(__func__); return 0; } int mkdir_nid_postfix(const char* path, uint16_t mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } int nanosleep_nid_postfix(const KernelTimespec* rqtp, KernelTimespec* rmtp) { (void)rqtp; (void)rmtp; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -152,6 +177,7 @@ int open_nid_postfix(const char* path, int flags, int mode) { (void)path; (void)flags; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -160,41 +186,48 @@ int64_t pread_nid_disambig1_nid_postfix(int d, void* buf, size_t nbytes, int64_t (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_destroy(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_get_np(Pthread thread, PthreadAttr* attr) { (void)thread; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getdetachstate(const PthreadAttr* attr, int* state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getguardsize(const PthreadAttr* attr, size_t* guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getschedparam(const PthreadAttr* attr, KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getschedpolicy(const PthreadAttr* attr, int* policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -202,69 +235,81 @@ int pthread_attr_getstack(const PthreadAttr* __restrict attr, void** __restrict (void)attr; (void)stack_addr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_getstacksize(const PthreadAttr* attr, size_t* stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_init(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setdetachstate(PthreadAttr* attr, int state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setguardsize(PthreadAttr* attr, size_t guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setinheritsched(PthreadAttr* attr, int inherit_sched) { (void)attr; (void)inherit_sched; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setschedparam(PthreadAttr* attr, const KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setschedpolicy(PthreadAttr* attr, int policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_attr_setstacksize(PthreadAttr* attr, size_t stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_broadcast(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_init(PthreadCond* cond, const PthreadCondattr* attr) { (void)cond; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_signal(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -272,28 +317,33 @@ int pthread_cond_timedwait(PthreadCond* cond, PthreadMutex* mutex, const KernelT (void)cond; (void)mutex; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_cond_wait(PthreadCond* cond, PthreadMutex* mutex) { (void)cond; (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_destroy(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_init(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_condattr_setclock(PthreadCondattr* attr, KernelClockid clock_id) { (void)attr; (void)clock_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -302,6 +352,7 @@ int pthread_create(Pthread* thread, const PthreadAttr* attr, pthread_entry_func_ (void)attr; (void)entry; (void)arg; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -311,142 +362,168 @@ int pthread_create_name_np(Pthread* thread, const PthreadAttr* attr, pthread_ent (void)entry; (void)arg; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_detach(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } void pthread_exit(void* value) { (void)value; + NotImplemented_nid_no_patch(__func__); } int pthread_getschedparam(Pthread thread, int* policy, KernelSchedParam* param) { (void)thread; (void)policy; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } void* pthread_getspecific(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return nullptr; } int pthread_join(Pthread thread, void** value) { (void)thread; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_key_create(PthreadKey* key, pthread_key_destructor_func_t destructor) { (void)key; (void)destructor; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_key_delete(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_destroy(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_init(PthreadMutex* mutex, const PthreadMutexattr* attr) { (void)mutex; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_lock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_timedlock(PthreadMutex* mutex, const KernelTimespec* abstime) { (void)mutex; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_trylock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutex_unlock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_destroy(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_init(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_setprotocol(PthreadMutexattr* attr, int protocol) { (void)attr; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_mutexattr_settype(PthreadMutexattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_once(void* once_control, void (*init_routine)()) { (void)once_control; (void)init_routine; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rename_np(Pthread thread, const char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_destroy(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_init(PthreadRwlock* rwlock, const PthreadRwlockattr* attr) { (void)rwlock; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_rwlock_wrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } Pthread pthread_self(void) { + NotImplemented_nid_no_patch(__func__); return {}; } int pthread_setcancelstate(int state, int* old_state) { (void)state; (void)old_state; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_setprio(Pthread thread, int prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -454,16 +531,19 @@ int pthread_setschedparam(Pthread thread, int policy, const KernelSchedParam* pa (void)thread; (void)policy; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int pthread_setspecific(PthreadKey key, void* value) { (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void pthread_yield(void) { + NotImplemented_nid_no_patch(__func__); } int64_t pwrite_nid_disambig1_nid_postfix(int d, const void* buf, size_t nbytes, int64_t offset) { @@ -471,6 +551,7 @@ int64_t pwrite_nid_disambig1_nid_postfix(int d, const void* buf, size_t nbytes, (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -478,6 +559,7 @@ int64_t read_nid_postfix(int d, void* buf, uint64_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -486,6 +568,7 @@ int64_t recv_nid_postfix(int s, void* buf, uint64_t len, int flags) { (void)buf; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -496,6 +579,7 @@ int64_t recvfrom_nid_postfix(int s, void* buf, uint64_t len, int flags, void* ad (void)flags; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -503,10 +587,12 @@ int sceCoredumpRegisterCoredumpHandler(uint64_t handler, size_t stack_size, uint (void)handler; (void)stack_size; (void)context; + NotImplemented_nid_no_patch(__func__); return 0; } int sceCoredumpUnregisterCoredumpHandler(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -514,6 +600,7 @@ int sceKernelAddAmprEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -522,35 +609,41 @@ int sceKernelAddHRTimerEvent(KernelEqueue eq, int id, const KernelTimespec* ts, (void)id; (void)ts; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAddUserEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAddUserEventEdge(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAioDeleteRequest(int32_t id, int32_t* ret) { (void)id; (void)ret; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAioInitializeImpl(void* param, int32_t size) { (void)param; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelAioInitializeParam(void* param) { (void)param; + NotImplemented_nid_no_patch(__func__); } int sceKernelAioSubmitReadCommands(KernelAioRwRequest* req, int32_t size, int32_t prio, int32_t* id) { @@ -558,6 +651,7 @@ int sceKernelAioSubmitReadCommands(KernelAioRwRequest* req, int32_t size, int32_ (void)size; (void)prio; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -566,6 +660,7 @@ int sceKernelAioSubmitWriteCommands(KernelAioRwRequest* req, int32_t size, int32 (void)size; (void)prio; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -573,6 +668,7 @@ int sceKernelAioWaitRequest(int32_t id, int32_t* state, uint32_t* usec) { (void)id; (void)state; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -583,6 +679,7 @@ int sceKernelAllocateDirectMemory(int64_t search_start, int64_t search_end, size (void)alignment; (void)memory_type; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -591,6 +688,7 @@ int sceKernelAllocateMainDirectMemory(size_t len, size_t alignment, int memory_t (void)alignment; (void)memory_type; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -600,11 +698,13 @@ int sceKernelAvailableDirectMemorySize(int64_t search_start, int64_t search_end, (void)alignment; (void)phys_addr_out; (void)size_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelAvailableFlexibleMemorySize(size_t* size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -612,6 +712,7 @@ int sceKernelBatchMap(KernelBatchMapEntry* entries, int num_entries, int* num_en (void)entries; (void)num_entries; (void)num_entries_out; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -620,6 +721,7 @@ int sceKernelBatchMap2(KernelBatchMapEntry* entries, int num_entries, int* num_e (void)num_entries; (void)num_entries_out; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -627,6 +729,7 @@ int sceKernelCancelEventFlag(KernelEventFlag ef, uint64_t set_pattern, int* num_ (void)ef; (void)set_pattern; (void)num_wait_threads; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -634,45 +737,53 @@ int sceKernelCancelSema(KernelSema sem, int count, int* threads) { (void)sem; (void)count; (void)threads; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCheckedReleaseDirectMemory(int64_t start, size_t len) { (void)start; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCheckReachability(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClearEventFlag(KernelEventFlag ef, uint64_t bit_pattern) { (void)ef; (void)bit_pattern; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClockGetres(KernelClockid clock_id, KernelTimespec* tp) { (void)clock_id; (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClockGettime(KernelClockid clock_id, KernelTimespec* tp) { (void)clock_id; (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelClose(int d) { (void)d; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelConfiguredFlexibleMemorySize(size_t* size) { (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -682,6 +793,7 @@ int sceKernelConvertLocaltimeToUtc(int64_t local_time, int64_t reserved, int64_t (void)utc_time; (void)timezone; (void)dst_seconds; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -690,12 +802,14 @@ int sceKernelConvertUtcToLocaltime(int64_t utc_time, int64_t* local_time, Kernel (void)local_time; (void)st; (void)dst_sec; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelCreateEqueue(KernelEqueue* eq, const char* name) { (void)eq; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -705,6 +819,7 @@ int sceKernelCreateEventFlag(KernelEventFlag* ef, const char* name, uint32_t att (void)attr; (void)init_pattern; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -715,49 +830,58 @@ int sceKernelCreateSema(KernelSema* sem, const char* name, uint32_t attr, int in (void)init; (void)max; (void)opt; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelDebugRaiseException(int c1, int c2) { (void)c1; (void)c2; + NotImplemented_nid_no_patch(__func__); } void sceKernelDebugRaiseExceptionOnReleaseMode(int c1, int c2) { (void)c1; (void)c2; + NotImplemented_nid_no_patch(__func__); } int sceKernelDeleteAmprEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteEqueue(KernelEqueue eq) { (void)eq; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteEventFlag(KernelEventFlag ef) { (void)ef; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteHRTimerEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteSema(KernelSema sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelDeleteUserEvent(KernelEqueue eq, int id) { (void)eq; (void)id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -766,6 +890,7 @@ int sceKernelDirectMemoryQuery(int64_t offset, int flags, void* info, size_t inf (void)flags; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -773,21 +898,25 @@ int sceKernelDlsym(KernelModule handle, const char* symbol, void** addr) { (void)handle; (void)symbol; (void)addr; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelFstat(int d, FileStat* sb) { (void)d; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelFsync(int fd) { (void)fd; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetCurrentCpu(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -795,10 +924,12 @@ int sceKernelGetdents(int fd, char* buf, int nbytes) { (void)fd; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } size_t sceKernelGetDirectMemorySize(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -807,40 +938,48 @@ int sceKernelGetdirentries(int fd, char* buf, int nbytes, int64_t* basep) { (void)buf; (void)nbytes; (void)basep; + NotImplemented_nid_no_patch(__func__); return 0; } intptr_t sceKernelGetEventData(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetEventError(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } intptr_t sceKernelGetEventFflags(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetEventFilter(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } uintptr_t sceKernelGetEventId(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return 0; } void* sceKernelGetEventUserData(const KernelEvent* ev) { (void)ev; + NotImplemented_nid_no_patch(__func__); return nullptr; } uint64_t sceKernelGetGPI(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -848,6 +987,7 @@ int sceKernelGetModuleInfoForUnwind(uint64_t addr, int flags, ModuleInfoForUnwin (void)addr; (void)flags; (void)info; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -855,11 +995,13 @@ int sceKernelGetModuleInfoFromAddr(uint64_t addr, int n, ModuleInfo* r) { (void)addr; (void)n; (void)r; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGetOpenPsId(void* open_ps_id) { (void)open_ps_id; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -868,22 +1010,27 @@ int sceKernelGetPageTableStats(int* cpu_total, int* cpu_available, int* gpu_tota (void)cpu_available; (void)gpu_total; (void)gpu_available; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTime(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTimeCounter(void) { + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetProcessTimeCounterFrequency(void) { + NotImplemented_nid_no_patch(__func__); return 0; } void* sceKernelGetProcParam(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } @@ -891,38 +1038,46 @@ int sceKernelGetPrtAperture(int index, void** addr, size_t* len) { (void)index; (void)addr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } MallocReplace* sceKernelGetSanitizerMallocReplaceExternal(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } NewReplace* sceKernelGetSanitizerNewReplaceExternal(void) { + NotImplemented_nid_no_patch(__func__); return nullptr; } int sceKernelGettimeofday(KernelTimeval* tp) { (void)tp; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelGettimezone(KernelTimezone* tz) { (void)tz; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelGetTscFrequency(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelInstallExceptionHandler(int signum, void* handler) { (void)signum; (void)handler; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelIsAddressSanitizerEnabled(void) { + NotImplemented_nid_no_patch(__func__); return 0; } @@ -930,6 +1085,7 @@ int sceKernelIsStack(void* addr, void** start, void** end) { (void)addr; (void)start; (void)end; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -940,6 +1096,7 @@ KernelModule sceKernelLoadStartModule(const char* module_file_name, size_t args, (void)flags; (void)opt; (void)res; + NotImplemented_nid_no_patch(__func__); return {}; } @@ -947,6 +1104,7 @@ int64_t sceKernelLseek(int d, int64_t offset, int whence) { (void)d; (void)offset; (void)whence; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -957,6 +1115,7 @@ int sceKernelMapDirectMemory(void** addr, size_t len, int prot, int flags, int64 (void)flags; (void)direct_memory_start; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -968,6 +1127,7 @@ int sceKernelMapDirectMemory2(void** addr, size_t len, int type, int prot, int f (void)flags; (void)direct_memory_start; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -976,6 +1136,7 @@ int sceKernelMapFlexibleMemory(void** addr_in_out, size_t len, int prot, int fla (void)len; (void)prot; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -987,6 +1148,7 @@ int sceKernelMapNamedDirectMemory(void** addr, size_t len, int prot, int flags, (void)direct_memory_start; (void)alignment; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -996,6 +1158,7 @@ int32_t sceKernelMapNamedFlexibleMemory(void** addr_in_out, size_t len, int prot (void)prot; (void)flags; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1004,6 +1167,7 @@ int sceKernelMemoryPoolBatch(const KernelMemoryPoolBatchEntry* entries, int num_ (void)num_entries; (void)num_entries_out; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1013,6 +1177,7 @@ int sceKernelMemoryPoolCommit(void* addr, size_t len, int type, int prot, int fl (void)type; (void)prot; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1020,6 +1185,7 @@ int sceKernelMemoryPoolDecommit(void* addr, size_t len, int flags) { (void)addr; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1029,12 +1195,14 @@ int sceKernelMemoryPoolExpand(int64_t search_start, int64_t search_end, size_t l (void)len; (void)alignment; (void)phys_addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMemoryPoolGetBlockStats(KernelMemoryPoolBlockStats* output, size_t output_size) { (void)output; (void)output_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1044,12 +1212,14 @@ int sceKernelMemoryPoolReserve(void* addr_in, size_t len, size_t alignment, int (void)alignment; (void)flags; (void)addr_out; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMkdir(const char* path, uint16_t mode) { (void)path; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1057,6 +1227,7 @@ int sceKernelMprotect(const void* addr, size_t len, int prot) { (void)addr; (void)len; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1065,18 +1236,21 @@ int sceKernelMtypeprotect(const void* addr, size_t len, int type, int prot) { (void)len; (void)type; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelMunmap(uint64_t vaddr, size_t len) { (void)vaddr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelNanosleep(const KernelTimespec* rqtp, KernelTimespec* rmtp) { (void)rqtp; (void)rmtp; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1084,6 +1258,7 @@ int sceKernelOpen(const char* path, int flags, uint16_t mode) { (void)path; (void)flags; (void)mode; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1092,12 +1267,14 @@ int sceKernelPollEventFlag(KernelEventFlag ef, uint64_t bit_pattern, uint32_t wa (void)bit_pattern; (void)wait_mode; (void)result_pat; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelPollSema(KernelSema sem, int need) { (void)sem; (void)need; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1106,6 +1283,7 @@ int64_t sceKernelPread(int d, void* buf, size_t nbytes, int64_t offset) { (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1114,6 +1292,7 @@ int64_t sceKernelPwrite(int d, const void* buf, size_t nbytes, int64_t offset) { (void)buf; (void)nbytes; (void)offset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1122,12 +1301,14 @@ int sceKernelQueryMemoryProtection(void* addr, void** start, void** end, int* pr (void)start; (void)end; (void)prot; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRaiseException(Pthread thread, int signum) { (void)thread; (void)signum; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1135,27 +1316,32 @@ int64_t sceKernelRead(int d, void* buf, size_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } uint64_t sceKernelReadTsc(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelReleaseDirectMemory(int64_t start, size_t len) { (void)start; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRemoveExceptionHandler(int signum) { (void)signum; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRename(const char* from, const char* to) { (void)from; (void)to; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1164,78 +1350,93 @@ int sceKernelReserveVirtualRange(void** addr, size_t len, int flags, size_t alig (void)len; (void)flags; (void)alignment; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRmdir(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelRtldSetApplicationHeapAPI(void* api[]) { (void)api; + NotImplemented_nid_no_patch(__func__); } int sceKernelRtldThreadAtexitDecrement(uint64_t* c) { (void)c; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelRtldThreadAtexitIncrement(uint64_t* c) { (void)c; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelSetEventFlag(KernelEventFlag ef, uint64_t bit_pattern) { (void)ef; (void)bit_pattern; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSetGPO(uint32_t bits) { (void)bits; + NotImplemented_nid_no_patch(__func__); } int sceKernelSetPrtAperture(int index, void* addr, size_t len) { (void)index; (void)addr; (void)len; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSetThreadAtexitCount(get_thread_atexit_count_func_t func) { (void)func; + NotImplemented_nid_no_patch(__func__); } void sceKernelSetThreadAtexitReport(thread_atexit_report_func_t func) { (void)func; + NotImplemented_nid_no_patch(__func__); } void sceKernelSetThreadDtors(thread_dtors_func_t dtors) { (void)dtors; + NotImplemented_nid_no_patch(__func__); } int sceKernelSetVirtualRangeName(const void* addr, uint64_t len, const char* name) { (void)addr; (void)len; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelSignalSema(KernelSema sem, int count) { (void)sem; (void)count; + NotImplemented_nid_no_patch(__func__); return 0; } unsigned int sceKernelSleep(unsigned int seconds) { (void)seconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelStat(const char* path, FileStat* sb) { (void)path; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1246,31 +1447,37 @@ int sceKernelStopUnloadModule(KernelModule handle, size_t args, const void* argp (void)flags; (void)opt; (void)res; + NotImplemented_nid_no_patch(__func__); return 0; } void sceKernelSync(void) { + NotImplemented_nid_no_patch(__func__); } int sceKernelTriggerUserEvent(KernelEqueue eq, int id, void* udata) { (void)eq; (void)id; (void)udata; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUnlink(const char* path) { (void)path; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUsleep(KernelUseconds microseconds) { (void)microseconds; + NotImplemented_nid_no_patch(__func__); return 0; } int sceKernelUuidCreate(uint32_t* uuid) { (void)uuid; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1279,6 +1486,7 @@ int sceKernelVirtualQuery(const void* addr, int flags, VirtualQueryInfo* info, u (void)flags; (void)info; (void)info_size; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1288,6 +1496,7 @@ int sceKernelWaitEqueue(KernelEqueue eq, KernelEvent* ev, int num, int* out, con (void)num; (void)out; (void)timo; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1297,6 +1506,7 @@ int sceKernelWaitEventFlag(KernelEventFlag ef, uint64_t bit_pattern, uint32_t wa (void)wait_mode; (void)result_pat; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1304,6 +1514,7 @@ int sceKernelWaitSema(KernelSema sem, int need, KernelUseconds* time) { (void)sem; (void)need; (void)time; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1311,47 +1522,55 @@ int64_t sceKernelWrite(int d, const void* buf, size_t nbytes) { (void)d; (void)buf; (void)nbytes; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrDestroy(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGet(Pthread thread, PthreadAttr* attr) { (void)thread; (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetaffinity(const PthreadAttr* attr, KernelCpumask* mask) { (void)attr; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetdetachstate(const PthreadAttr* attr, int* state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetguardsize(const PthreadAttr* attr, size_t* guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetschedparam(const PthreadAttr* attr, KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetsolosched(const PthreadAttr* attr, int* solosched) { (void)attr; (void)solosched; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1359,65 +1578,76 @@ int scePthreadAttrGetstack(const PthreadAttr* __restrict attr, void** __restrict (void)attr; (void)stack_addr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetstackaddr(const PthreadAttr* attr, void** stack_addr) { (void)attr; (void)stack_addr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrGetstacksize(const PthreadAttr* attr, size_t* stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrInit(PthreadAttr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetaffinity(PthreadAttr* attr, KernelCpumask mask) { (void)attr; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetdetachstate(PthreadAttr* attr, int state) { (void)attr; (void)state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetguardsize(PthreadAttr* attr, size_t guard_size) { (void)attr; (void)guard_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetinheritsched(PthreadAttr* attr, int inherit_sched) { (void)attr; (void)inherit_sched; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetschedparam(PthreadAttr* attr, const KernelSchedParam* param) { (void)attr; (void)param; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetschedpolicy(PthreadAttr* attr, int policy) { (void)attr; (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetsolosched(PthreadAttr* attr, int solosched) { (void)attr; (void)solosched; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1425,43 +1655,51 @@ int scePthreadAttrSetstack(PthreadAttr* attr, void* addr, size_t size) { (void)attr; (void)addr; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetstackaddr(PthreadAttr* attr, void* addr) { (void)attr; (void)addr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadAttrSetstacksize(PthreadAttr* attr, size_t stack_size) { (void)attr; (void)stack_size; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCancel(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondattrDestroy(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondattrInit(PthreadCondattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondBroadcast(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondDestroy(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1469,17 +1707,20 @@ int scePthreadCondInit(PthreadCond* cond, const PthreadCondattr* attr, const cha (void)cond; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondSignal(PthreadCond* cond) { (void)cond; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondSignalto(PthreadCond* cond, Pthread thread) { (void)cond; (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1487,12 +1728,14 @@ int scePthreadCondTimedwait(PthreadCond* cond, PthreadMutex* mutex, KernelUsecon (void)cond; (void)mutex; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadCondWait(PthreadCond* cond, PthreadMutex* mutex) { (void)cond; (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1502,92 +1745,109 @@ int scePthreadCreate(Pthread* thread, const PthreadAttr* attr, pthread_entry_fun (void)entry; (void)arg; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadDetach(Pthread thread) { (void)thread; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadEqual(Pthread thread1, Pthread thread2) { (void)thread1; (void)thread2; + NotImplemented_nid_no_patch(__func__); return 0; } void scePthreadExit(void* value) { (void)value; + NotImplemented_nid_no_patch(__func__); } int scePthreadGetaffinity(Pthread thread, KernelCpumask* mask) { (void)thread; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadGetname(Pthread thread, char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadGetprio(Pthread thread, int* prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } void* scePthreadGetspecific(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return nullptr; } int scePthreadGetthreadid(void) { + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadJoin(Pthread thread, void** value) { (void)thread; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadKeyCreate(PthreadKey* key, pthread_key_destructor_func_t destructor) { (void)key; (void)destructor; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadKeyDelete(PthreadKey key) { (void)key; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrDestroy(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrInit(PthreadMutexattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrSetprotocol(PthreadMutexattr* attr, int protocol) { (void)attr; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexattrSettype(PthreadMutexattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexDestroy(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1595,54 +1855,64 @@ int scePthreadMutexInit(PthreadMutex* mutex, const PthreadMutexattr* attr, const (void)mutex; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexLock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexTimedlock(PthreadMutex* mutex, KernelUseconds usec) { (void)mutex; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexTrylock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadMutexUnlock(PthreadMutex* mutex) { (void)mutex; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRename(Pthread thread, const char* name) { (void)thread; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrDestroy(PthreadRwlockattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrInit(PthreadRwlockattr* attr) { (void)attr; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockattrSettype(PthreadRwlockattr* attr, int type) { (void)attr; (void)type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockDestroy(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1650,46 +1920,55 @@ int scePthreadRwlockInit(PthreadRwlock* rwlock, const PthreadRwlockattr* attr, c (void)rwlock; (void)attr; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockRdlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockTryrdlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockTrywrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockUnlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadRwlockWrlock(PthreadRwlock* rwlock) { (void)rwlock; + NotImplemented_nid_no_patch(__func__); return 0; } Pthread scePthreadSelf(void) { + NotImplemented_nid_no_patch(__func__); return {}; } int scePthreadSemDestroy(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemGetvalue(void* sem, int* value) { (void)sem; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1698,70 +1977,83 @@ int scePthreadSemInit(void* sem, int flag, unsigned int value, const char* name) (void)flag; (void)value; (void)name; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemPost(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemTimedwait(void* sem, KernelUseconds usec) { (void)sem; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemTrywait(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSemWait(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetaffinity(Pthread thread, KernelCpumask mask) { (void)thread; (void)mask; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetcancelstate(int state, int* old_state) { (void)state; (void)old_state; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetcanceltype(int type, int* old_type) { (void)type; (void)old_type; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetprio(Pthread thread, int prio) { (void)thread; (void)prio; + NotImplemented_nid_no_patch(__func__); return 0; } int scePthreadSetspecific(PthreadKey key, void* value) { (void)key; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } void scePthreadYield(void) { + NotImplemented_nid_no_patch(__func__); } int sched_get_priority_max(int policy) { (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } int sched_get_priority_min(int policy) { (void)policy; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1771,17 +2063,20 @@ int select_nid_postfix(int nfds, void* readfds, void* writefds, void* exceptfds, (void)writefds; (void)exceptfds; (void)timeout; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_destroy_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_getvalue(void* sem, int* value) { (void)sem; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1789,33 +2084,39 @@ int sem_init_nid_postfix(void* sem, int pshared, unsigned int value) { (void)sem; (void)pshared; (void)value; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_post_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_reltimedwait_np(void* sem, uint32_t usec) { (void)sem; (void)usec; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_timedwait(void* sem, const KernelTimespec* abstime) { (void)sem; (void)abstime; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_trywait_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } int sem_wait_nid_postfix(void* sem) { (void)sem; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1824,6 +2125,7 @@ int64_t send_nid_postfix(int s, const void* buf, uint64_t len, int flags) { (void)buf; (void)len; (void)flags; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1834,6 +2136,7 @@ int64_t sendto_nid_postfix(int s, const void* buf, uint64_t len, int flags, cons (void)flags; (void)addr; (void)addrlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1843,6 +2146,7 @@ int setsockopt_nid_postfix(int s, int level, int optname, const void* optval, ui (void)optname; (void)optval; (void)optlen; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1850,6 +2154,7 @@ int sigprocmask_nid_postfix(int how, const void* set, void* oset) { (void)how; (void)set; (void)oset; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1857,12 +2162,14 @@ int socket_nid_postfix(int family, int type, int protocol) { (void)family; (void)type; (void)protocol; + NotImplemented_nid_no_patch(__func__); return 0; } int stat_nid_postfix(const char* path, FileStat* sb) { (void)path; (void)sb; + NotImplemented_nid_no_patch(__func__); return 0; } @@ -1870,6 +2177,7 @@ int64_t write_nid_postfix(int d, const char* str, int64_t size) { (void)d; (void)str; (void)size; + NotImplemented_nid_no_patch(__func__); return 0; }