#include "stdafx.h" #include "Emu/System.h" #include "Emu/ARMv7/PSVFuncList.h" #include "sceNpCommon.h" s32 sceNpAuthInit() { throw EXCEPTION(""); } s32 sceNpAuthTerm() { throw EXCEPTION(""); } s32 sceNpAuthCreateStartRequest(vm::cptr param) { throw EXCEPTION(""); } s32 sceNpAuthDestroyRequest(s32 id) { throw EXCEPTION(""); } s32 sceNpAuthAbortRequest(s32 id) { throw EXCEPTION(""); } s32 sceNpAuthGetTicket(s32 id, vm::ptr buf, u32 len) { throw EXCEPTION(""); } s32 sceNpAuthGetTicketParam(vm::cptr ticket, u32 ticketSize, s32 paramId, vm::ptr param) { throw EXCEPTION(""); } s32 sceNpAuthGetEntitlementIdList(vm::cptr ticket, u32 ticketSize, vm::ptr entIdList, u32 entIdListNum) { throw EXCEPTION(""); } s32 sceNpAuthGetEntitlementById(vm::cptr ticket, u32 ticketSize, vm::cptr entId, vm::ptr ent) { throw EXCEPTION(""); } s32 sceNpCmpNpId(vm::cptr npid1, vm::cptr npid2) { throw EXCEPTION(""); } s32 sceNpCmpNpIdInOrder(vm::cptr npid1, vm::cptr npid2, vm::ptr order) { throw EXCEPTION(""); } #define REG_FUNC(nid, name) reg_psv_func(nid, &sceNpCommon, #name, name) psv_log_base sceNpCommon("SceNpCommon", []() { sceNpCommon.on_load = nullptr; sceNpCommon.on_unload = nullptr; sceNpCommon.on_stop = nullptr; sceNpCommon.on_error = nullptr; REG_FUNC(0x441D8B4E, sceNpAuthInit); REG_FUNC(0x6093B689, sceNpAuthTerm); REG_FUNC(0xED42079F, sceNpAuthCreateStartRequest); REG_FUNC(0x14FC18AF, sceNpAuthDestroyRequest); REG_FUNC(0xE2582575, sceNpAuthAbortRequest); REG_FUNC(0x59608D1C, sceNpAuthGetTicket); REG_FUNC(0xC1E23E01, sceNpAuthGetTicketParam); REG_FUNC(0x3377CD37, sceNpAuthGetEntitlementIdList); REG_FUNC(0xF93842F0, sceNpAuthGetEntitlementById); REG_FUNC(0xFB8D82E5, sceNpCmpNpId); REG_FUNC(0x6BC8150A, sceNpCmpNpIdInOrder); });