ntp: Do not convert to UTC as time_t returned from NTP server is already UTC

This commit is contained in:
Joel16 2022-07-17 14:45:26 -04:00
parent 0234c57cf9
commit a14f9fe583

View File

@ -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);