mirror of
https://github.com/joel16/NTPSP.git
synced 2025-02-17 01:39:03 +00:00
ntp: Do not convert to UTC as time_t returned from NTP server is already UTC
This commit is contained in:
parent
0234c57cf9
commit
a14f9fe583
@ -183,11 +183,6 @@ int ntpGetTime(pspTime *psp_time_ntp) {
|
||||
snprintf(g_err_string, 64, "sceRtcGetTick() failed: 0x%08x\n", err);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (R_FAILED(ret = sceRtcConvertLocalTimeToUTC(&tick_next, &utc_tick))) {
|
||||
snprintf(g_err_string, 64, "sceRtcConvertLocalTimeToUTC() failed: 0x%08x\n", err);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (R_FAILED(ret = pspRtcSetCurrentTick(&tick_next))) {
|
||||
snprintf(g_err_string, 64, "pspRtcSetCurrentTick() failed: 0x%08x\n", err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user