This website requires JavaScript.
Explore
Help
Sign In
Tendokyu
/
segatools-dniel97
Watch
1
Star
0
Fork
0
You've already forked segatools-dniel97
mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced
2024-11-28 06:50:49 +01:00
Code
Releases
Activity
9c83a38208
segatools-dniel97
/
util
/
clock.h
5 lines
79 B
C
Raw
Normal View
History
Unescape
Escape
util/clock.c: Add hook to prevent date/time changes
2018-11-08 21:57:01 +01:00
#
pragma once
util/clock.c: Apply clock skew SEGA games are unplayable between 03:00 and 07:00 local time due to a network maintenance period that is hard-coded into the games themselves (no, guest play is not available). Deal with this by slowing down time to avoid 02:00 (the time when a warning appears and new credits eventually start being rejected), then jump forward to sync up with real time when 07:00 hits.
2018-11-12 21:29:46 +01:00
void
clock_set_hook_init
(
void
)
;
void
clock_skew_hook_init
(
void
)
;
Copy Permalink