Skip to content

Commit

Permalink
Merge branch 'main' into upd-gpsp-default-netplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemiii91 authored Dec 22, 2024
2 parents c478592 + 00dfb26 commit 15c24e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/build/.tmp_update/runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -771,9 +771,11 @@ update_time() {

if [ "$current_time" -gt "$rtc_treshold" ]; then
log "RTC available, not restoring time. Current time: $current_time"
touch "$sysdir/config/.noTimeRestore"
return
else
log "RTC not available, restoring time. Current time: $current_time"
rm -f "$sysdir/config/.noTimeRestore" > /dev/null 2>&1
fi

timepath=/mnt/SDCARD/Saves/CurrentProfile/saves/currentTime.txt
Expand Down

0 comments on commit 15c24e0

Please sign in to comment.