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