activate.vpk/user/user_clockset.c

42 lines
985 B
C
Raw Normal View History

2018-06-02 12:33:15 +00:00
// SilicaAndPina
// userland <-> userland bridge
// WHY TF DO I HAVE TO DO THIS ?
#include <psp2/kernel/modulemgr.h>
#include <taihen.h>
#include <vitasdk.h>
2019-08-10 10:42:14 +00:00
#include "rtcKernelBridge.h"
2018-06-02 12:33:15 +00:00
2019-08-10 10:42:14 +00:00
int silRtcSetCurrentTick(unsigned int timestamp1, unsigned int timestamp2)
2018-06-02 12:33:15 +00:00
{
return ksilRtcSetCurrentTick(timestamp1,timestamp2);
}
2019-08-10 10:42:14 +00:00
int silRtcSetCurrentNetworkTick(unsigned int timestamp1, unsigned int timestamp2)
2018-06-02 12:33:15 +00:00
{
return ksilRtcSetCurrentNetworkTick(timestamp1,timestamp2);
}
2019-08-10 10:42:14 +00:00
int silRtcSetCurrentSecureTick(unsigned int timestamp1, unsigned int timestamp2)
2018-06-02 12:33:15 +00:00
{
return ksilRtcSetCurrentSecureTick(timestamp1,timestamp2);
}
2019-08-10 10:42:14 +00:00
int silSblPostSsMgrSetCpRtc(unsigned int timestamp)
{
return ksilSblPostSsMgrSetCpRtc(timestamp);
}
2019-11-10 15:24:12 +00:00
int silDumpNvsAct(unsigned int fileno)
{
return ksilDumpNvsAct(fileno);
}
2018-06-02 12:33:15 +00:00
int module_start(SceSize argc, const void *args) {
return SCE_KERNEL_START_SUCCESS;
}
int module_stop(SceSize argc, const void *args) {
return SCE_KERNEL_STOP_SUCCESS;
}