This repository has been archived on 2023-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
holocenesync/user/user_clockset.c

46 lines
1.1 KiB
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 silDumpNvsAct(unsigned int fileno)
{
return ksilDumpNvsAct(fileno);
}
int silRestoreNvsAct(unsigned int fileno)
{
return ksilRestoreNvsAct(fileno);
}
void _start() __attribute__ ((weak, alias ("module_start")));
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;
}