mirror of
https://github.com/joel16/NTPSP.git
synced 2024-11-23 03:09:42 +00:00
22 lines
378 B
C
22 lines
378 B
C
#include <pspsdk.h>
|
|
|
|
PSP_MODULE_INFO("rtc_driver", PSP_MODULE_KERNEL, 1, 0);
|
|
PSP_NO_CREATE_MAIN_THREAD();
|
|
|
|
int sceRtcSetCurrentTick(u64 *tick);
|
|
|
|
int pspRtcSetCurrentTick(u64 *tick) {
|
|
u32 k1 = pspSdkSetK1(0);
|
|
int ret = sceRtcSetCurrentTick(tick);
|
|
pspSdkSetK1(k1);
|
|
return ret;
|
|
}
|
|
|
|
int module_start(SceSize args, void *argp) {
|
|
return 0;
|
|
}
|
|
|
|
int module_stop(void) {
|
|
return 0;
|
|
}
|