2014-08-15 16:57:55 +02:00
|
|
|
#include "stdafx.h"
|
2016-03-21 20:42:14 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
2015-07-26 11:15:15 +02:00
|
|
|
|
2014-08-15 16:57:55 +02:00
|
|
|
#include "sceNpSns.h"
|
|
|
|
|
|
2016-03-21 20:42:14 +01:00
|
|
|
LOG_CHANNEL(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
|
|
|
{
|
2016-01-12 22:57:16 +01: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()
|
|
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sceNpSns.warning("sceNpSnsFbTerm()");
|
2015-07-26 11:15:15 +02:00
|
|
|
|
|
|
|
|
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("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2016-03-21 20:42:14 +01:00
|
|
|
DECLARE(ppu_module_manager::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
|
|
|
});
|