2014-08-15 16:57:55 +02:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/SysCalls/Modules.h"
|
2015-07-26 11:15:15 +02:00
|
|
|
|
2014-08-15 16:57:55 +02:00
|
|
|
#include "sceNpSns.h"
|
|
|
|
|
|
2015-09-08 15:53:28 +02:00
|
|
|
extern Module<> sceNpSns;
|
2014-08-15 16:57:55 +02:00
|
|
|
|
2015-07-31 23:47:29 +02:00
|
|
|
s32 sceNpSnsFbInit(vm::ptr<const SceNpSnsFbInitParams> params)
|
2015-07-26 11:15:15 +02:00
|
|
|
{
|
2015-07-31 23:47:29 +02:00
|
|
|
sceNpSns.Todo("sceNpSnsFbInit(params=*0x%x)", params);
|
2015-07-26 11:15:15 +02:00
|
|
|
|
|
|
|
|
// 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-26 11:15:15 +02:00
|
|
|
|
2015-07-31 23:47:29 +02:00
|
|
|
s32 sceNpSnsFbStreamPublish()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
2015-07-26 11:15:15 +02:00
|
|
|
|
2015-07-31 23:47:29 +02:00
|
|
|
s32 sceNpSnsFbCheckThrottle()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
2015-07-26 11:15:15 +02:00
|
|
|
}
|
|
|
|
|
|
2015-07-31 23:47:29 +02:00
|
|
|
s32 sceNpSnsFbCheckConfig()
|
2014-08-15 16:57:55 +02:00
|
|
|
{
|
2015-07-31 23:47:29 +02:00
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
2015-07-26 11:15:15 +02:00
|
|
|
|
2015-07-31 23:47:29 +02:00
|
|
|
s32 sceNpSnsFbLoadThrottle()
|
|
|
|
|
{
|
|
|
|
|
throw EXCEPTION("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-09-08 15:53:28 +02:00
|
|
|
Module<> sceNpSns("sceNpSns", []()
|
2015-07-31 23:47:29 +02:00
|
|
|
{
|
2015-07-26 11:15:15 +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);
|
2015-02-18 17:22:06 +01:00
|
|
|
});
|