mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
349 lines
No EOL
8.6 KiB
C++
349 lines
No EOL
8.6 KiB
C++
#include "stdafx.h"
|
|
#include "Utilities/Log.h"
|
|
#include "Emu/Memory/Memory.h"
|
|
#include "Emu/SysCalls/Modules.h"
|
|
#include "cellRtc.h"
|
|
#include "sceNpCommerce2.h"
|
|
|
|
//void sceNpCommerce2_unload();
|
|
//void sceNpCommerce2_init();
|
|
//Module sceNpCommerce2(0x0044, sceNpCommerce2_init, nullptr, sceNpCommerce2_unload);
|
|
Module *sceNpCommerce2 = nullptr;
|
|
|
|
int sceNpCommerce2ExecuteStoreBrowse()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetStoreBrowseUserdata()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2Init()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2Term()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2CreateCtx()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DestroyCtx()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2CreateSessionStart()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2CreateSessionAbort()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2CreateSessionFinish()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetCategoryContentsCreateReq()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetCategoryContentsStart()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetCategoryContentsGetResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2InitGetCategoryContentsResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetCategoryInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetContentInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetCategoryInfoFromContentInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetGameProductInfoFromContentInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DestroyGetCategoryContentsResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetProductInfoCreateReq()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetProductInfoStart()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetProductInfoGetResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2InitGetProductInfoResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetGameProductInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DestroyGetProductInfoResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetProductInfoListCreateReq()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetProductInfoListStart()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetProductInfoListGetResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2InitGetProductInfoListResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DestroyGetProductInfoListResult()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetContentRatingInfoFromGameProductInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetContentRatingInfoFromCategoryInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetContentRatingDescriptor()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetGameSkuInfoFromGameProductInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetPrice()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoCheckoutStartAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoCheckoutFinishAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoProductBrowseStartAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoProductBrowseFinishAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoDlListStartAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoDlListFinishAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoProductCodeStartAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DoProductCodeFinishAsync()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2GetBGDLAvailability()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2SetBGDLAvailability()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2AbortReq()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int sceNpCommerce2DestroyReq()
|
|
{
|
|
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
|
return CELL_OK;
|
|
}
|
|
|
|
void sceNpCommerce2_unload()
|
|
{
|
|
// TODO: Unload SNS module
|
|
}
|
|
|
|
void sceNpCommerce2_init()
|
|
{
|
|
sceNpCommerce2->AddFunc(0xeef51be0, sceNpCommerce2ExecuteStoreBrowse);
|
|
sceNpCommerce2->AddFunc(0x1fa1b312, sceNpCommerce2GetStoreBrowseUserdata);
|
|
sceNpCommerce2->AddFunc(0x3539d233, sceNpCommerce2Init);
|
|
sceNpCommerce2->AddFunc(0x4d4a094c, sceNpCommerce2Term);
|
|
sceNpCommerce2->AddFunc(0xd9fdcec2, sceNpCommerce2CreateCtx);
|
|
sceNpCommerce2->AddFunc(0x6f67ea80, sceNpCommerce2DestroyCtx);
|
|
sceNpCommerce2->AddFunc(0xcc18cd2c, sceNpCommerce2CreateSessionStart);
|
|
sceNpCommerce2->AddFunc(0x62023e98, sceNpCommerce2CreateSessionAbort);
|
|
sceNpCommerce2->AddFunc(0x91f8843d, sceNpCommerce2CreateSessionFinish);
|
|
sceNpCommerce2->AddFunc(0x7370d8d0, sceNpCommerce2GetCategoryContentsCreateReq);
|
|
sceNpCommerce2->AddFunc(0x371a2edd, sceNpCommerce2GetCategoryContentsStart);
|
|
sceNpCommerce2->AddFunc(0xca0ea996, sceNpCommerce2GetCategoryContentsGetResult);
|
|
sceNpCommerce2->AddFunc(0xd8a473a3, sceNpCommerce2InitGetCategoryContentsResult);
|
|
sceNpCommerce2->AddFunc(0xbd49eab2, sceNpCommerce2GetCategoryInfo);
|
|
sceNpCommerce2->AddFunc(0x972ab46c, sceNpCommerce2GetContentInfo);
|
|
sceNpCommerce2->AddFunc(0xfc216890, sceNpCommerce2GetCategoryInfoFromContentInfo);
|
|
sceNpCommerce2->AddFunc(0xe51a4944, sceNpCommerce2GetGameProductInfoFromContentInfo);
|
|
sceNpCommerce2->AddFunc(0x9d9cb96b, sceNpCommerce2DestroyGetCategoryContentsResult);
|
|
sceNpCommerce2->AddFunc(0xa975ebb4, sceNpCommerce2GetProductInfoCreateReq);
|
|
sceNpCommerce2->AddFunc(0x8f46325b, sceNpCommerce2GetProductInfoStart);
|
|
sceNpCommerce2->AddFunc(0xbf5f58ea, sceNpCommerce2GetProductInfoGetResult);
|
|
sceNpCommerce2->AddFunc(0xf798f5e3, sceNpCommerce2InitGetProductInfoResult);
|
|
sceNpCommerce2->AddFunc(0xef645654, sceNpCommerce2GetGameProductInfo);
|
|
sceNpCommerce2->AddFunc(0xef8eafcd, sceNpCommerce2DestroyGetProductInfoResult);
|
|
sceNpCommerce2->AddFunc(0xe1e7b5ac, sceNpCommerce2GetProductInfoListCreateReq);
|
|
sceNpCommerce2->AddFunc(0x9cde07cc, sceNpCommerce2GetProductInfoListStart);
|
|
sceNpCommerce2->AddFunc(0x146618df, sceNpCommerce2GetProductInfoListGetResult);
|
|
sceNpCommerce2->AddFunc(0xe0f90e44, sceNpCommerce2InitGetProductInfoListResult);
|
|
sceNpCommerce2->AddFunc(0xd9956ce7, sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult);
|
|
sceNpCommerce2->AddFunc(0xf6139b58, sceNpCommerce2DestroyGetProductInfoListResult);
|
|
sceNpCommerce2->AddFunc(0xec324c8f, sceNpCommerce2GetContentRatingInfoFromGameProductInfo);
|
|
sceNpCommerce2->AddFunc(0xac78c1f3, sceNpCommerce2GetContentRatingInfoFromCategoryInfo);
|
|
sceNpCommerce2->AddFunc(0x150fdca3, sceNpCommerce2GetContentRatingDescriptor);
|
|
sceNpCommerce2->AddFunc(0xdb19194c, sceNpCommerce2GetGameSkuInfoFromGameProductInfo);
|
|
sceNpCommerce2->AddFunc(0xda8e322d, sceNpCommerce2GetPrice);
|
|
sceNpCommerce2->AddFunc(0x104551a6, sceNpCommerce2DoCheckoutStartAsync);
|
|
sceNpCommerce2->AddFunc(0xd43a130e, sceNpCommerce2DoCheckoutFinishAsync);
|
|
sceNpCommerce2->AddFunc(0x9825a0fc, sceNpCommerce2DoProductBrowseStartAsync);
|
|
sceNpCommerce2->AddFunc(0xb23e3bd1, sceNpCommerce2DoProductBrowseFinishAsync);
|
|
sceNpCommerce2->AddFunc(0x6ca9efd4, sceNpCommerce2DoDlListStartAsync);
|
|
sceNpCommerce2->AddFunc(0x410d42be, sceNpCommerce2DoDlListFinishAsync);
|
|
sceNpCommerce2->AddFunc(0xde7ab33d, sceNpCommerce2DoProductCodeStartAsync);
|
|
sceNpCommerce2->AddFunc(0xa9f945b3, sceNpCommerce2DoProductCodeFinishAsync);
|
|
sceNpCommerce2->AddFunc(0x3d627d81, sceNpCommerce2GetBGDLAvailability);
|
|
sceNpCommerce2->AddFunc(0xa5a863fe, sceNpCommerce2SetBGDLAvailability);
|
|
sceNpCommerce2->AddFunc(0x8df0057f, sceNpCommerce2AbortReq);
|
|
sceNpCommerce2->AddFunc(0x2a910f05, sceNpCommerce2DestroyReq);
|
|
} |