Skip to content

Commit d299dd2

Browse files
authored
Merge pull request #1 from mzino/master
Get time from UserSystemClock instead of NetworkSystemClock
2 parents a4815b5 + dd1b354 commit d299dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ int main(int argc, char* argv[]) {
9595
}
9696

9797
time_t currentTime;
98-
Result rs = timeGetCurrentTime(TimeType_NetworkSystemClock, (u64*)&currentTime);
98+
Result rs = timeGetCurrentTime(TimeType_UserSystemClock, (u64*)&currentTime);
9999
if (R_FAILED(rs)) {
100100
printf("timeGetCurrentTime failed with %x", rs);
101101
return consoleExitWithMsg("");

0 commit comments

Comments
 (0)