2014-02-16 02:51:04 +01:00
|
|
|
#include "stdafx.h"
|
2014-06-02 19:27:24 +02:00
|
|
|
#include "Emu/Memory/Memory.h"
|
|
|
|
|
#include "Emu/System.h"
|
|
|
|
|
#include "Emu/SysCalls/Modules.h"
|
2014-12-14 18:14:26 +01:00
|
|
|
#include "Emu/SysCalls/lv2/sys_process.h"
|
2014-08-23 22:40:04 +02:00
|
|
|
|
2014-08-26 01:55:37 +02:00
|
|
|
#include "Emu/FS/VFS.h"
|
2015-04-24 23:38:11 +02:00
|
|
|
#include "Utilities/File.h"
|
2014-06-02 19:27:24 +02:00
|
|
|
#include "Emu/FS/vfsDir.h"
|
2014-03-30 22:09:49 +02:00
|
|
|
#include "Crypto/unedat.h"
|
2014-02-16 02:51:04 +01:00
|
|
|
#include "sceNp.h"
|
|
|
|
|
|
2015-02-18 17:22:06 +01:00
|
|
|
extern Module sceNp;
|
2014-02-16 02:51:04 +01:00
|
|
|
|
2014-09-12 16:28:02 +02:00
|
|
|
struct sceNpInternal
|
|
|
|
|
{
|
|
|
|
|
bool m_bSceNpInitialized;
|
|
|
|
|
bool m_bSceNp2Initialized;
|
|
|
|
|
bool m_bScoreInitialized;
|
2014-09-25 19:07:06 +02:00
|
|
|
bool m_bLookupInitialized;
|
2014-10-01 11:25:06 +02:00
|
|
|
bool m_bSceNpUtilBandwidthTestInitialized;
|
2014-09-12 16:28:02 +02:00
|
|
|
|
|
|
|
|
sceNpInternal()
|
|
|
|
|
: m_bSceNpInitialized(false),
|
|
|
|
|
m_bSceNp2Initialized(false),
|
2014-09-25 19:07:06 +02:00
|
|
|
m_bScoreInitialized(false),
|
2014-10-01 11:25:06 +02:00
|
|
|
m_bLookupInitialized(false),
|
|
|
|
|
m_bSceNpUtilBandwidthTestInitialized(false)
|
2014-09-12 16:28:02 +02:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
sceNpInternal sceNpInstance;
|
|
|
|
|
|
2014-03-15 20:45:43 +01:00
|
|
|
int sceNpInit(u32 mem_size, u32 mem_addr)
|
|
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpInit(mem_size=0x%x, mem_addr=0x%x)", mem_size, mem_addr);
|
2014-09-12 16:28:02 +02:00
|
|
|
|
|
|
|
|
if (sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_ERROR_ALREADY_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bSceNpInitialized = true;
|
|
|
|
|
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int sceNp2Init(u32 mem_size, u32 mem_addr)
|
|
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNp2Init(mem_size=0x%x, mem_addr=0x%x)", mem_size, mem_addr);
|
2014-09-12 16:28:02 +02:00
|
|
|
|
|
|
|
|
if (sceNpInstance.m_bSceNp2Initialized)
|
|
|
|
|
return SCE_NP_ERROR_ALREADY_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bSceNp2Initialized = true;
|
|
|
|
|
|
2014-03-15 20:45:43 +01:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int sceNpTerm()
|
|
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpTerm()");
|
2014-09-12 16:28:02 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bSceNpInitialized = false;
|
|
|
|
|
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int sceNp2Term()
|
|
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNp2Term()");
|
2014-09-12 16:28:02 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNp2Initialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bSceNp2Initialized = false;
|
|
|
|
|
|
2014-03-15 20:45:43 +01:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-04 19:32:20 +02:00
|
|
|
int npDrmIsAvailable(u32 k_licensee_addr, vm::ptr<const char> drm_path)
|
2014-03-15 20:45:43 +01:00
|
|
|
{
|
2014-09-04 19:32:20 +02:00
|
|
|
if (!Emu.GetVFS().ExistsFile(drm_path.get_ptr()))
|
2014-07-01 14:21:55 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("npDrmIsAvailable(): '%s' not found", drm_path.get_ptr());
|
2014-07-01 14:21:55 +02:00
|
|
|
return CELL_ENOENT;
|
|
|
|
|
}
|
|
|
|
|
|
2014-08-13 14:25:13 +02:00
|
|
|
std::string k_licensee_str = "0";
|
2014-03-15 20:45:43 +01:00
|
|
|
u8 k_licensee[0x10];
|
2014-08-13 14:25:13 +02:00
|
|
|
|
|
|
|
|
if (k_licensee_addr)
|
2014-03-15 20:45:43 +01:00
|
|
|
{
|
2014-08-13 14:25:13 +02:00
|
|
|
for (int i = 0; i < 0x10; i++)
|
|
|
|
|
{
|
2014-09-06 15:33:01 +02:00
|
|
|
k_licensee[i] = vm::read8(k_licensee_addr + i);
|
2014-08-13 14:25:13 +02:00
|
|
|
k_licensee_str += fmt::Format("%02x", k_licensee[i]);
|
|
|
|
|
}
|
2014-03-15 20:45:43 +01:00
|
|
|
}
|
|
|
|
|
|
2015-04-25 23:26:54 +02:00
|
|
|
sceNp.Warning("npDrmIsAvailable(): Found DRM license file at %s", drm_path.get_ptr());
|
|
|
|
|
sceNp.Warning("npDrmIsAvailable(): Using k_licensee 0x%s", k_licensee_str.c_str());
|
2014-03-15 20:45:43 +01:00
|
|
|
|
2014-03-30 22:09:49 +02:00
|
|
|
// Set the necessary file paths.
|
2014-09-04 19:32:20 +02:00
|
|
|
std::string drm_file_name = fmt::AfterLast(drm_path.get_ptr(), '/');
|
2014-03-30 22:09:49 +02:00
|
|
|
|
2014-08-05 16:36:16 +02:00
|
|
|
// TODO: Make more explicit what this actually does (currently it copies "XXXXXXXX" from drm_path (== "/dev_hdd0/game/XXXXXXXXX/*" assumed)
|
2014-09-04 19:32:20 +02:00
|
|
|
std::string titleID(&drm_path[15], 9);
|
2014-03-30 22:09:49 +02:00
|
|
|
|
2014-07-31 20:20:00 +02:00
|
|
|
// TODO: These shouldn't use current dir
|
2014-09-04 19:32:20 +02:00
|
|
|
std::string enc_drm_path = drm_path.get_ptr();
|
2014-10-01 15:57:44 +02:00
|
|
|
std::string dec_drm_path = "/dev_hdd1/cache/" + drm_file_name;
|
|
|
|
|
std::string pf_str("00000001"); // TODO: Allow multiple profiles. Use default for now.
|
2014-12-12 17:31:48 +01:00
|
|
|
std::string rap_path("/dev_hdd0/home/" + pf_str + "/exdata/");
|
2014-09-04 19:32:20 +02:00
|
|
|
|
2014-03-30 22:09:49 +02:00
|
|
|
// Search dev_usb000 for a compatible RAP file.
|
2015-04-25 23:26:54 +02:00
|
|
|
for (const auto entry : vfsDir(rap_path))
|
2014-03-30 22:09:49 +02:00
|
|
|
{
|
2015-04-25 23:26:54 +02:00
|
|
|
if (entry->name.find(titleID) != std::string::npos)
|
2014-03-30 22:09:49 +02:00
|
|
|
{
|
2015-04-25 23:26:54 +02:00
|
|
|
rap_path += entry->name;
|
|
|
|
|
break;
|
2014-03-30 22:09:49 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-25 23:26:54 +02:00
|
|
|
if (rap_path.back() == '/')
|
|
|
|
|
{
|
|
|
|
|
sceNp.Warning("npDrmIsAvailable(): Can't find RAP file for '%s' (titleID='%s')", drm_path.get_ptr(), titleID);
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-30 22:09:49 +02:00
|
|
|
// Decrypt this EDAT using the supplied k_licensee and matching RAP file.
|
2014-08-05 16:36:16 +02:00
|
|
|
std::string enc_drm_path_local, dec_drm_path_local, rap_path_local;
|
|
|
|
|
Emu.GetVFS().GetDevice(enc_drm_path, enc_drm_path_local);
|
|
|
|
|
Emu.GetVFS().GetDevice(dec_drm_path, dec_drm_path_local);
|
|
|
|
|
Emu.GetVFS().GetDevice(rap_path, rap_path_local);
|
2014-03-30 22:09:49 +02:00
|
|
|
|
2014-10-01 15:57:44 +02:00
|
|
|
if (DecryptEDAT(enc_drm_path_local, dec_drm_path_local, 8, rap_path_local, k_licensee, false) >= 0)
|
|
|
|
|
{
|
|
|
|
|
// If decryption succeeds, replace the encrypted file with it.
|
2015-04-24 23:38:11 +02:00
|
|
|
fs::remove_file(enc_drm_path_local);
|
|
|
|
|
fs::rename(dec_drm_path_local, enc_drm_path_local);
|
2014-10-01 15:57:44 +02:00
|
|
|
}
|
|
|
|
|
|
2014-03-15 20:45:43 +01:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-04 19:32:20 +02:00
|
|
|
int sceNpDrmIsAvailable(u32 k_licensee_addr, vm::ptr<const char> drm_path)
|
2014-04-03 01:24:39 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpDrmIsAvailable(k_licensee_addr=0x%x, drm_path_addr=0x%x('%s'))", k_licensee_addr, drm_path.addr(), drm_path.get_ptr());
|
2014-08-13 21:29:38 +02:00
|
|
|
|
2014-09-04 19:32:20 +02:00
|
|
|
return npDrmIsAvailable(k_licensee_addr, drm_path);
|
|
|
|
|
}
|
2014-08-13 21:29:38 +02:00
|
|
|
|
2014-09-04 19:32:20 +02:00
|
|
|
int sceNpDrmIsAvailable2(u32 k_licensee_addr, vm::ptr<const char> drm_path)
|
|
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpDrmIsAvailable2(k_licensee_addr=0x%x, drm_path_addr=0x%x('%s'))", k_licensee_addr, drm_path.addr(), drm_path.get_ptr());
|
2014-08-13 21:29:38 +02:00
|
|
|
|
2014-09-04 19:32:20 +02:00
|
|
|
return npDrmIsAvailable(k_licensee_addr, drm_path);
|
2014-04-03 01:24:39 +02:00
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpDrmVerifyUpgradeLicense(vm::ptr<const char> content_id)
|
2014-04-03 01:24:39 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpDrmVerifyUpgradeLicense(content_id_addr=0x%x)", content_id.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
2014-04-03 01:24:39 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpDrmVerifyUpgradeLicense2(vm::ptr<const char> content_id)
|
2014-04-03 01:24:39 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpDrmVerifyUpgradeLicense2(content_id_addr=0x%x)", content_id.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
2014-04-03 01:24:39 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpDrmExecuteGamePurchase()
|
2014-04-03 01:24:39 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-11 19:20:01 +02:00
|
|
|
int sceNpDrmGetTimelimit(u32 drm_path_addr, vm::ptr<u64> time_remain_usec)
|
2014-02-28 04:48:20 +01:00
|
|
|
{
|
2014-09-21 16:26:21 +02:00
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-02-28 04:48:20 +01:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-14 18:14:26 +01:00
|
|
|
int sceNpDrmProcessExitSpawn(vm::ptr<const char> path, u32 argv_addr, u32 envp_addr, u32 data_addr, u32 data_size, u32 prio, u64 flags)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpDrmProcessExitSpawn()");
|
|
|
|
|
sceNp.Warning("path: %s", path.get_ptr());
|
|
|
|
|
sceNp.Warning("argv: 0x%x", argv_addr);
|
|
|
|
|
sceNp.Warning("envp: 0x%x", envp_addr);
|
|
|
|
|
sceNp.Warning("data: 0x%x", data_addr);
|
|
|
|
|
sceNp.Warning("data_size: 0x%x", data_size);
|
|
|
|
|
sceNp.Warning("prio: %d", prio);
|
|
|
|
|
sceNp.Warning("flags: %d", flags);
|
2014-12-14 18:14:26 +01:00
|
|
|
|
|
|
|
|
sys_game_process_exitspawn(path, argv_addr, envp_addr, data_addr, data_size, prio, flags);
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-14 18:14:26 +01:00
|
|
|
int sceNpDrmProcessExitSpawn2(vm::ptr<const char> path, u32 argv_addr, u32 envp_addr, u32 data_addr, u32 data_size, u32 prio, u64 flags)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpDrmProcessExitSpawn2()");
|
|
|
|
|
sceNp.Warning("path: %s", path.get_ptr());
|
|
|
|
|
sceNp.Warning("argv: 0x%x", argv_addr);
|
|
|
|
|
sceNp.Warning("envp: 0x%x", envp_addr);
|
|
|
|
|
sceNp.Warning("data: 0x%x", data_addr);
|
|
|
|
|
sceNp.Warning("data_size: 0x%x", data_size);
|
|
|
|
|
sceNp.Warning("prio: %d", prio);
|
|
|
|
|
sceNp.Warning("flags: %d", flags);
|
2014-12-14 18:14:26 +01:00
|
|
|
|
|
|
|
|
sys_game_process_exitspawn2(path, argv_addr, envp_addr, data_addr, data_size, prio, flags);
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicRegisterHandler()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicRegisterContextSensitiveHandler()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicUnregisterHandler()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicSetPresence()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicSetPresenceDetails()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicSetPresenceDetails2()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicSendMessage()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicSendMessageGui()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicSendMessageAttachment()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicRecvMessageAttachment()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicRecvMessageAttachmentLoad()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicRecvMessageCustom()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicMarkMessageAsUsed()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicAbortGui()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicAddFriend()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-25 19:07:06 +02:00
|
|
|
int sceNpBasicGetFriendListEntryCount(vm::ptr<u32> count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpBasicGetFriendListEntryCount(count_addr=0x%x)", count.addr());
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
// TODO: Check if there are any friends
|
2014-09-25 19:07:06 +02:00
|
|
|
*count = 0;
|
2014-09-21 16:26:21 +02:00
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetFriendListEntry()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetFriendPresenceByIndex()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetFriendPresenceByIndex2()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetFriendPresenceByNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetFriendPresenceByNpId2()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicAddPlayersHistory()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicAddPlayersHistoryAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetPlayersHistoryEntryCount(u32 options, vm::ptr<u32> count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetPlayersHistoryEntryCount(options=%d, count_addr=0x%x)", options, count.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetPlayersHistoryEntry()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicAddBlockListEntry()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetBlockListEntryCount(u32 count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetBlockListEntryCount(count=%d)", count);
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetBlockListEntry()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetMessageAttachmentEntryCount(vm::ptr<u32> count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetMessageAttachmentEntryCount(count_addr=0x%x)", count.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetMessageAttachmentEntry(u32 index, vm::ptr<SceNpUserInfo> from)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetMessageAttachmentEntry(index=%d, from_addr=0x%x)", index, from.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetCustomInvitationEntryCount()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpBasicGetCustomInvitationEntry()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetMatchingInvitationEntryCount(vm::ptr<u32> count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetMatchingInvitationEntryCount(count_addr=0x%x)", count.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetMatchingInvitationEntry(u32 index, vm::ptr<SceNpUserInfo> from)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetMatchingInvitationEntry(index=%d, from_addr=0x%x)", index, from.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetClanMessageEntryCount(vm::ptr<u32> count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetClanMessageEntryCount(count_addr=0x%x)", count.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetClanMessageEntry(u32 index, vm::ptr<SceNpUserInfo> from)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetClanMessageEntry(index=%d, from_addr=0x%x)", index, from.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-25 19:07:06 +02:00
|
|
|
int sceNpBasicGetMessageEntryCount(u32 type, vm::ptr<u32> count)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpBasicGetMessageEntryCount(type=%d, count_addr=0x%x)", type, count.addr());
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
// TODO: Check if there are messages
|
2014-09-25 19:07:06 +02:00
|
|
|
*count = 0;
|
2014-09-21 16:26:21 +02:00
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-30 20:42:15 +02:00
|
|
|
int sceNpBasicGetMessageEntry(u32 type, u32 index, vm::ptr<SceNpUserInfo> from)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Todo("sceNpBasicGetMessageEntry(type=%d, index=%d, from_addr=0x%x)", type, index, from.addr());
|
2014-09-30 20:42:15 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-25 19:07:06 +02:00
|
|
|
int sceNpBasicGetEvent(vm::ptr<s32> event, vm::ptr<SceNpUserInfo> from, vm::ptr<s32> data, vm::ptr<u32> size)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpBasicGetEvent(event_addr=0x%x, from_addr=0x%x, data_addr=0x%x, size_addr=0x%x)", event.addr(), from.addr(), data.addr(), size.addr());
|
2014-09-25 19:07:06 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_BASIC_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
// TODO: Check for other error and pass other events
|
|
|
|
|
*event = SCE_NP_BASIC_EVENT_OFFLINE;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceCreateCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceDestroyCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2014-09-21 16:26:21 +02:00
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceInitProductCategory()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceDestroyProductCategory()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetProductCategoryStart()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetProductCategoryFinish()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetProductCategoryResult()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetProductCategoryAbort()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetProductId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetProductName()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCategoryDescription()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCategoryId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCategoryImageURL()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCategoryInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCategoryName()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCurrencyCode()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCurrencyDecimals()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetCurrencyInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetNumOfChildCategory()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetNumOfChildProductSku()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetSkuDescription()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetSkuId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetSkuImageURL()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetSkuName()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetSkuPrice()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetSkuUserData()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceSetDataFlagStart()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetDataFlagStart()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceSetDataFlagFinish()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetDataFlagFinish()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetDataFlagState()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetDataFlagAbort()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetChildCategoryInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceGetChildProductSkuInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceDoCheckoutStartAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCommerceDoCheckoutFinishAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCustomMenuRegisterActions()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCustomMenuActionSetActivation()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpCustomMenuRegisterExceptionList()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpFriendlist()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpFriendlistCustom()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpFriendlistAbortGui()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupInit()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpLookupInit()");
|
2014-09-25 19:07:06 +02:00
|
|
|
|
|
|
|
|
// TODO: Make sure the error code returned is right,
|
|
|
|
|
// since there are no error codes for Lookup utility.
|
|
|
|
|
if (sceNpInstance.m_bLookupInitialized)
|
|
|
|
|
return SCE_NP_COMMUNITY_ERROR_ALREADY_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bLookupInitialized = true;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupTerm()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpLookupTerm()");
|
2014-09-25 19:07:06 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bLookupInitialized)
|
|
|
|
|
return SCE_NP_COMMUNITY_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bLookupInitialized = false;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupCreateTitleCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupDestroyTitleCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupCreateTransactionCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupDestroyTransactionCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-28 08:10:50 +02:00
|
|
|
int sceNpLookupSetTimeout()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupAbortTransaction()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupWaitAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupPollAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupNpIdAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupUserProfile()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupUserProfileAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupUserProfileWithAvatarSize()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupUserProfileWithAvatarSizeAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupAvatarImage()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupAvatarImageAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupTitleStorage()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupTitleStorageAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupTitleSmallStorage()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpLookupTitleSmallStorageAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerRegisterCallback()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerUnregisterCallback()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-11 19:20:01 +02:00
|
|
|
int sceNpManagerGetStatus(vm::ptr<u32> status)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Log("sceNpManagerGetStatus(status_addr=0x%x)", status.addr());
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
// TODO: Support different statuses
|
|
|
|
|
*status = SCE_NP_MANAGER_STATUS_OFFLINE;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetNetworkTime()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetOnlineId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetOnlineName()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetAvatarUrl()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetMyLanguages()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetAccountRegion()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetAccountAge()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2014-09-21 16:26:21 +02:00
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-18 20:20:37 +02:00
|
|
|
int sceNpManagerGetContentRatingFlag(vm::ptr<u32> isRestricted, vm::ptr<u32> age)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpManagerGetContentRatingFlag(isRestricted_addr=0x%x, age_addr=0x%x)", isRestricted.addr(), age.addr());
|
2014-10-18 20:20:37 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpInitialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
// TODO: read user's parental control information
|
|
|
|
|
*isRestricted = 0;
|
|
|
|
|
*age = 18;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetChatRestrictionFlag()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetCachedInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetPsHandle()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerRequestTicket()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerRequestTicket2()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetTicket()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetTicketParam()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetEntitlementIdList()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerGetEntitlementById()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerSubSignin()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerSubSigninAbortGui()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpManagerSubSignout()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingCreateCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingDestroyCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetResult()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetResultGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2014-09-21 16:26:21 +02:00
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingSetRoomInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingSetRoomInfoNoLimit()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetRoomInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetRoomInfoNoLimit()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingSetRoomSearchFlag()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetRoomSearchFlag()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetRoomMemberListLocal()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGetRoomListLimitGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingKickRoomMember()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingKickRoomMemberWithOpt()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingQuickMatchGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingSendInvitationGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingAcceptInvitationGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingCreateRoomGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingJoinRoomGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingLeaveRoom()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingSearchJoinRoomGUI()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpMatchingGrantOwnership()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpProfileCallGui()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpProfileAbortGui()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreInit()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpScoreInit()");
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
if (sceNpInstance.m_bScoreInitialized)
|
|
|
|
|
return SCE_NP_COMMUNITY_ERROR_ALREADY_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bScoreInitialized = true;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreTerm()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2015-02-18 17:22:06 +01:00
|
|
|
sceNp.Warning("sceNpScoreTerm()");
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bScoreInitialized)
|
|
|
|
|
return SCE_NP_COMMUNITY_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bScoreInitialized = false;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreCreateTitleCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreDestroyTitleCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreCreateTransactionCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreDestroyTransactionCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreSetTimeout()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreSetPlayerCharacterId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreWaitAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScorePollAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetBoardInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetBoardInfoAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreRecordScore()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreRecordScoreAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreRecordGameData()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreRecordGameDataAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetGameData()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-28 08:10:50 +02:00
|
|
|
int sceNpScoreGetGameDataAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
int sceNpScoreGetRankingByNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetRankingByNpIdAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetRankingByRange()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetRankingByRangeAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreCensorComment()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreCensorCommentAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreSanitizeComment()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreSanitizeCommentAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetRankingByNpIdPcId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetRankingByNpIdPcIdAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreAbortTransaction()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansMembersRankingByNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-28 08:10:50 +02:00
|
|
|
int sceNpScoreGetClansMembersRankingByNpIdAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansMembersRankingByNpIdPcId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansMembersRankingByNpIdPcIdAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansRankingByRange()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansRankingByRangeAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClanMemberGameData()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClanMemberGameDataAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
2014-09-21 16:26:21 +02:00
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansRankingByClanId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansRankingByClanIdAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansMembersRankingByRange()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpScoreGetClansMembersRankingByRangeAsync()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingCreateCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingDestroyCtx()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingAddExtendedHandler()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
2014-09-21 16:26:21 +02:00
|
|
|
|
|
|
|
|
int sceNpSignalingSetCtxOpt()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetCtxOpt()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingActivateConnection()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingDeactivateConnection()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingTerminateConnection()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetConnectionStatus()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetConnectionInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetConnectionFromNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetConnectionFromPeerAddress()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetLocalNetInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetPeerNetInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingCancelPeerNetInfo()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpSignalingGetPeerNetInfoResult()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpUtilCmpNpId()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpUtilCmpNpIdInOrder()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-01 11:25:06 +02:00
|
|
|
int sceNpUtilBandwidthTestInitStart(u32 prio, size_t stack)
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-10-01 11:25:06 +02:00
|
|
|
|
|
|
|
|
if (sceNpInstance.m_bSceNpUtilBandwidthTestInitialized)
|
|
|
|
|
return SCE_NP_ERROR_ALREADY_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bSceNpUtilBandwidthTestInitialized = true;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpUtilBandwidthTestGetStatus()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-10-01 11:25:06 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpUtilBandwidthTestInitialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int sceNpUtilBandwidthTestShutdown()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-10-01 11:25:06 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpUtilBandwidthTestInitialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
|
|
|
|
sceNpInstance.m_bSceNpUtilBandwidthTestInitialized = false;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-28 08:10:50 +02:00
|
|
|
int sceNpUtilBandwidthTestAbort()
|
2014-07-27 19:30:25 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
2014-10-01 11:25:06 +02:00
|
|
|
|
|
|
|
|
if (!sceNpInstance.m_bSceNpUtilBandwidthTestInitialized)
|
|
|
|
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
|
|
|
|
|
2014-07-27 19:30:25 +02:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-21 16:26:21 +02:00
|
|
|
int _sceNpSysutilClientMalloc()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int _sceNpSysutilClientFree()
|
2014-07-28 13:15:28 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(sceNp);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
2014-07-27 19:30:25 +02:00
|
|
|
|
2015-02-23 16:09:52 +01:00
|
|
|
Module sceNp("sceNp", []()
|
2014-09-22 21:00:28 +02:00
|
|
|
{
|
|
|
|
|
sceNpInstance.m_bSceNpInitialized = false;
|
|
|
|
|
sceNpInstance.m_bSceNp2Initialized = false;
|
|
|
|
|
sceNpInstance.m_bScoreInitialized = false;
|
2014-09-25 19:07:06 +02:00
|
|
|
sceNpInstance.m_bLookupInitialized = false;
|
2014-10-01 11:25:06 +02:00
|
|
|
sceNpInstance.m_bSceNpUtilBandwidthTestInitialized = false;
|
2014-09-22 21:00:28 +02:00
|
|
|
|
2015-02-20 14:58:40 +01:00
|
|
|
REG_FUNC(sceNp, sceNpInit);
|
|
|
|
|
REG_FUNC(sceNp, sceNp2Init);
|
|
|
|
|
REG_FUNC(sceNp, sceNpUtilBandwidthTestInitStart);
|
|
|
|
|
REG_FUNC(sceNp, sceNpTerm);
|
|
|
|
|
REG_FUNC(sceNp, sceNp2Term);
|
|
|
|
|
REG_FUNC(sceNp, sceNpUtilBandwidthTestShutdown);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmIsAvailable);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmIsAvailable2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmVerifyUpgradeLicense);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmVerifyUpgradeLicense2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmExecuteGamePurchase);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmGetTimelimit);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmProcessExitSpawn);
|
|
|
|
|
REG_FUNC(sceNp, sceNpDrmProcessExitSpawn2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicRegisterHandler);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicRegisterContextSensitiveHandler);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicUnregisterHandler);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicSetPresence);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicSetPresenceDetails);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicSetPresenceDetails2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicSendMessage);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicSendMessageGui);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicSendMessageAttachment);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicRecvMessageAttachment);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicRecvMessageAttachmentLoad);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicRecvMessageCustom);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicMarkMessageAsUsed);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicAbortGui);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicAddFriend);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetFriendListEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetFriendListEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetFriendPresenceByIndex);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetFriendPresenceByIndex2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetFriendPresenceByNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetFriendPresenceByNpId2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicAddPlayersHistory);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicAddPlayersHistoryAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetPlayersHistoryEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetPlayersHistoryEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicAddBlockListEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetBlockListEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetBlockListEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetMessageAttachmentEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetMessageAttachmentEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetCustomInvitationEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetCustomInvitationEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetMatchingInvitationEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetMatchingInvitationEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetClanMessageEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetClanMessageEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetMessageEntryCount);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetMessageEntry);
|
|
|
|
|
REG_FUNC(sceNp, sceNpBasicGetEvent);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceCreateCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceDestroyCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceInitProductCategory);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceDestroyProductCategory);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetProductCategoryStart);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetProductCategoryFinish);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetProductCategoryResult);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetProductCategoryAbort);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetProductId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetProductName);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCategoryDescription);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCategoryId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCategoryImageURL);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCategoryInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCategoryName);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCurrencyCode);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCurrencyDecimals);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetCurrencyInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetNumOfChildCategory);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetNumOfChildProductSku);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetSkuDescription);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetSkuId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetSkuImageURL);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetSkuName);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetSkuPrice);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetSkuUserData);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceSetDataFlagStart);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetDataFlagStart);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceSetDataFlagFinish);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetDataFlagFinish);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetDataFlagState);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetDataFlagAbort);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetChildCategoryInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceGetChildProductSkuInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceDoCheckoutStartAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCommerceDoCheckoutFinishAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCustomMenuRegisterActions);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCustomMenuActionSetActivation);
|
|
|
|
|
REG_FUNC(sceNp, sceNpCustomMenuRegisterExceptionList);
|
|
|
|
|
REG_FUNC(sceNp, sceNpFriendlist);
|
|
|
|
|
REG_FUNC(sceNp, sceNpFriendlistCustom);
|
|
|
|
|
REG_FUNC(sceNp, sceNpFriendlistAbortGui);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupInit);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupTerm);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupCreateTitleCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupDestroyTitleCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupCreateTransactionCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupDestroyTransactionCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupSetTimeout);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupAbortTransaction);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupWaitAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupPollAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupNpIdAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupUserProfile);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupUserProfileAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupUserProfileWithAvatarSize);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupUserProfileWithAvatarSizeAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupAvatarImage);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupAvatarImageAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupTitleStorage);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupTitleStorageAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupTitleSmallStorage);
|
|
|
|
|
REG_FUNC(sceNp, sceNpLookupTitleSmallStorageAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerRegisterCallback);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerUnregisterCallback);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetStatus);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetNetworkTime);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetOnlineId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetOnlineName);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetAvatarUrl);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetMyLanguages);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetAccountRegion);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetAccountAge);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetContentRatingFlag);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetChatRestrictionFlag);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetCachedInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetPsHandle);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerRequestTicket);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerRequestTicket2);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetTicket);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetTicketParam);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetEntitlementIdList);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerGetEntitlementById);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerSubSignin);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerSubSigninAbortGui);
|
|
|
|
|
REG_FUNC(sceNp, sceNpManagerSubSignout);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingCreateCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingDestroyCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetResult);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetResultGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingSetRoomInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingSetRoomInfoNoLimit);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetRoomInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetRoomInfoNoLimit);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingSetRoomSearchFlag);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetRoomSearchFlag);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetRoomMemberListLocal);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGetRoomListLimitGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingKickRoomMember);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingKickRoomMemberWithOpt);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingQuickMatchGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingSendInvitationGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingAcceptInvitationGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingCreateRoomGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingJoinRoomGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingLeaveRoom);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingSearchJoinRoomGUI);
|
|
|
|
|
REG_FUNC(sceNp, sceNpMatchingGrantOwnership);
|
|
|
|
|
REG_FUNC(sceNp, sceNpProfileCallGui);
|
|
|
|
|
REG_FUNC(sceNp, sceNpProfileAbortGui);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreInit);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreTerm);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreCreateTitleCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreDestroyTitleCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreCreateTransactionCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreDestroyTransactionCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreSetTimeout);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreSetPlayerCharacterId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreWaitAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScorePollAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetBoardInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetBoardInfoAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreRecordScore);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreRecordScoreAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreRecordGameData);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreRecordGameDataAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetGameData);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetGameDataAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetRankingByNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetRankingByNpIdAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetRankingByRange);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetRankingByRangeAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreCensorComment);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreCensorCommentAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreSanitizeComment);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreSanitizeCommentAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetRankingByNpIdPcId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetRankingByNpIdPcIdAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreAbortTransaction);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansMembersRankingByNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansMembersRankingByNpIdAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansMembersRankingByNpIdPcId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansMembersRankingByNpIdPcIdAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansMembersRankingByRange);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansMembersRankingByRangeAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClanMemberGameData);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClanMemberGameDataAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansRankingByClanId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansRankingByClanIdAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansRankingByRange);
|
|
|
|
|
REG_FUNC(sceNp, sceNpScoreGetClansRankingByRangeAsync);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingCreateCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingDestroyCtx);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingAddExtendedHandler);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingSetCtxOpt);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetCtxOpt);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingActivateConnection);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingDeactivateConnection);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingTerminateConnection);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetConnectionStatus);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetConnectionInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetConnectionFromNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetConnectionFromPeerAddress);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetLocalNetInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetPeerNetInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingCancelPeerNetInfo);
|
|
|
|
|
REG_FUNC(sceNp, sceNpSignalingGetPeerNetInfoResult);
|
|
|
|
|
REG_FUNC(sceNp, sceNpUtilCmpNpId);
|
|
|
|
|
REG_FUNC(sceNp, sceNpUtilCmpNpIdInOrder);
|
|
|
|
|
REG_FUNC(sceNp, sceNpUtilBandwidthTestGetStatus);
|
|
|
|
|
REG_FUNC(sceNp, sceNpUtilBandwidthTestAbort);
|
|
|
|
|
REG_FUNC(sceNp, _sceNpSysutilClientMalloc);
|
|
|
|
|
REG_FUNC(sceNp, _sceNpSysutilClientFree);
|
2015-02-18 17:22:06 +01:00
|
|
|
});
|