activate.vpk/user/user_clockset.c

38 lines
907 B
C

// SilicaAndPina
// userland <-> userland bridge
// WHY TF DO I HAVE TO DO THIS ?
#include <psp2/kernel/modulemgr.h>
#include <taihen.h>
#include <vitasdk.h>
#include "rtcKernelBridge.h"
int silRtcSetCurrentTick(unsigned int timestamp1, unsigned int timestamp2)
{
return ksilRtcSetCurrentTick(timestamp1,timestamp2);
}
int silRtcSetCurrentNetworkTick(unsigned int timestamp1, unsigned int timestamp2)
{
return ksilRtcSetCurrentNetworkTick(timestamp1,timestamp2);
}
int silRtcSetCurrentSecureTick(unsigned int timestamp1, unsigned int timestamp2)
{
return ksilRtcSetCurrentSecureTick(timestamp1,timestamp2);
}
int silSblPostSsMgrSetCpRtc(unsigned int timestamp)
{
return ksilSblPostSsMgrSetCpRtc(timestamp);
}
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;
}