rpcsx/rpcs3/Emu/SysCalls/Modules/sceNpCommerce2.cpp

361 lines
8.4 KiB
C++
Raw Normal View History

#include "stdafx.h"
2014-08-23 16:51:51 +02:00
#include "Emu/Memory/Memory.h"
#include "Emu/SysCalls/Modules.h"
2014-08-23 22:40:04 +02:00
#include "sceNpCommerce2.h"
extern Module sceNpCommerce2;
std::unique_ptr<SceNpCommerce2Internal> g_sceNpCommerce2;
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2ExecuteStoreBrowse()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetStoreBrowseUserdata()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2Init()
{
sceNpCommerce2.Warning("sceNpCommerce2Init()");
if (g_sceNpCommerce2->m_bSceNpCommerce2Initialized)
{
return SCE_NP_COMMERCE2_ERROR_ALREADY_INITIALIZED;
}
g_sceNpCommerce2->m_bSceNpCommerce2Initialized = true;
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2Term()
{
sceNpCommerce2.Warning("sceNpCommerce2Term()");
if (!g_sceNpCommerce2->m_bSceNpCommerce2Initialized)
{
return SCE_NP_COMMERCE2_ERROR_NOT_INITIALIZED;
}
g_sceNpCommerce2->m_bSceNpCommerce2Initialized = false;
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2CreateCtx()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DestroyCtx()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2CreateSessionStart()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2CreateSessionAbort()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2CreateSessionFinish()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetCategoryContentsCreateReq()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetCategoryContentsStart()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetCategoryContentsGetResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2InitGetCategoryContentsResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetCategoryInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetContentInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetCategoryInfoFromContentInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetGameProductInfoFromContentInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DestroyGetCategoryContentsResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetProductInfoCreateReq()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetProductInfoStart()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetProductInfoGetResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2InitGetProductInfoResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetGameProductInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DestroyGetProductInfoResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetProductInfoListCreateReq()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetProductInfoListStart()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetProductInfoListGetResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2InitGetProductInfoListResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DestroyGetProductInfoListResult()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetContentRatingInfoFromGameProductInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetContentRatingInfoFromCategoryInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetContentRatingDescriptor()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetGameSkuInfoFromGameProductInfo()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetPrice()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoCheckoutStartAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoCheckoutFinishAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoProductBrowseStartAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoProductBrowseFinishAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoDlListStartAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoDlListFinishAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoProductCodeStartAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DoProductCodeFinishAsync()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2GetBGDLAvailability()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2SetBGDLAvailability()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2AbortReq()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 sceNpCommerce2DestroyReq()
{
UNIMPLEMENTED_FUNC(sceNpCommerce2);
return CELL_OK;
}
Module sceNpCommerce2("sceNpCommerce2", []()
{
g_sceNpCommerce2 = std::make_unique<SceNpCommerce2Internal>();
REG_FUNC(sceNpCommerce2, sceNpCommerce2ExecuteStoreBrowse);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetStoreBrowseUserdata);
REG_FUNC(sceNpCommerce2, sceNpCommerce2Init);
REG_FUNC(sceNpCommerce2, sceNpCommerce2Term);
REG_FUNC(sceNpCommerce2, sceNpCommerce2CreateCtx);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DestroyCtx);
REG_FUNC(sceNpCommerce2, sceNpCommerce2CreateSessionStart);
REG_FUNC(sceNpCommerce2, sceNpCommerce2CreateSessionAbort);
REG_FUNC(sceNpCommerce2, sceNpCommerce2CreateSessionFinish);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetCategoryContentsCreateReq);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetCategoryContentsStart);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetCategoryContentsGetResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2InitGetCategoryContentsResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetCategoryInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetContentInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetCategoryInfoFromContentInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetGameProductInfoFromContentInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DestroyGetCategoryContentsResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetProductInfoCreateReq);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetProductInfoStart);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetProductInfoGetResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2InitGetProductInfoResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetGameProductInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DestroyGetProductInfoResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetProductInfoListCreateReq);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetProductInfoListStart);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetProductInfoListGetResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2InitGetProductInfoListResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DestroyGetProductInfoListResult);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetContentRatingInfoFromGameProductInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetContentRatingInfoFromCategoryInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetContentRatingDescriptor);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetGameSkuInfoFromGameProductInfo);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetPrice);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoCheckoutStartAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoCheckoutFinishAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoProductBrowseStartAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoProductBrowseFinishAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoDlListStartAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoDlListFinishAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoProductCodeStartAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DoProductCodeFinishAsync);
REG_FUNC(sceNpCommerce2, sceNpCommerce2GetBGDLAvailability);
REG_FUNC(sceNpCommerce2, sceNpCommerce2SetBGDLAvailability);
REG_FUNC(sceNpCommerce2, sceNpCommerce2AbortReq);
REG_FUNC(sceNpCommerce2, sceNpCommerce2DestroyReq);
});