rpcsx/rpcs3/Emu/Cell/Modules/sceNpSns.cpp

83 lines
1.4 KiB
C++
Raw Normal View History

#include "stdafx.h"
2016-03-21 20:42:14 +01:00
#include "Emu/Cell/PPUModule.h"
#include "sceNpSns.h"
2016-03-21 20:42:14 +01:00
LOG_CHANNEL(sceNpSns);
2015-07-31 23:47:29 +02:00
s32 sceNpSnsFbInit(vm::ptr<const SceNpSnsFbInitParams> params)
{
sceNpSns.todo("sceNpSnsFbInit(params=*0x%x)", params);
// TODO: Use the initialization parameters somewhere
return CELL_OK;
}
s32 sceNpSnsFbTerm()
{
sceNpSns.warning("sceNpSnsFbTerm()");
return CELL_OK;
}
s32 sceNpSnsFbCreateHandle()
{
UNIMPLEMENTED_FUNC(sceNpSns);
return CELL_OK;
}
s32 sceNpSnsFbDestroyHandle()
{
UNIMPLEMENTED_FUNC(sceNpSns);
return CELL_OK;
}
s32 sceNpSnsFbAbortHandle()
{
UNIMPLEMENTED_FUNC(sceNpSns);
return CELL_OK;
}
s32 sceNpSnsFbGetAccessToken()
{
UNIMPLEMENTED_FUNC(sceNpSns);
2015-07-31 23:47:29 +02:00
return CELL_OK;
}
2015-07-31 23:47:29 +02:00
s32 sceNpSnsFbStreamPublish()
{
throw EXCEPTION("");
}
2015-07-31 23:47:29 +02:00
s32 sceNpSnsFbCheckThrottle()
{
throw EXCEPTION("");
}
2015-07-31 23:47:29 +02:00
s32 sceNpSnsFbCheckConfig()
{
2015-07-31 23:47:29 +02:00
throw EXCEPTION("");
}
2015-07-31 23:47:29 +02:00
s32 sceNpSnsFbLoadThrottle()
{
throw EXCEPTION("");
}
2016-03-21 20:42:14 +01:00
DECLARE(ppu_module_manager::sceNpSns)("sceNpSns", []()
2015-07-31 23:47:29 +02:00
{
REG_FUNC(sceNpSns, sceNpSnsFbInit);
REG_FUNC(sceNpSns, sceNpSnsFbTerm);
REG_FUNC(sceNpSns, sceNpSnsFbCreateHandle);
REG_FUNC(sceNpSns, sceNpSnsFbDestroyHandle);
REG_FUNC(sceNpSns, sceNpSnsFbAbortHandle);
REG_FUNC(sceNpSns, sceNpSnsFbGetAccessToken);
2015-07-31 23:47:29 +02:00
REG_FUNC(sceNpSns, sceNpSnsFbStreamPublish);
REG_FUNC(sceNpSns, sceNpSnsFbCheckThrottle);
REG_FUNC(sceNpSns, sceNpSnsFbCheckConfig);
REG_FUNC(sceNpSns, sceNpSnsFbLoadThrottle);
});