Closed isage closed 2 years ago
1) gettimeofday should always return UTC, sceKernelLibcGettimeofday doesn't seem to do that. 2) gettimeofday with non-NULL tz is UB. So we completely ignore it.
After some more testing gettimeofday seems to be working fine, it's clock_gettime that's buggy.
See https://github.com/vitasdk/newlib/pull/78
1) gettimeofday should always return UTC, sceKernelLibcGettimeofday doesn't seem to do that. 2) gettimeofday with non-NULL tz is UB. So we completely ignore it.