Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/evbppc/wii/dev



Module Name:    src
Committed By:   jmcneill
Date:           Wed Oct 15 00:01:00 UTC 2025

Modified Files:
        src/sys/arch/evbppc/wii/dev: rtcsram.c

Log Message:
wii: rtcsram: Ignore counter bias when reading/writing RTC.

Counter bias is used by system menu as an offset from the RTC for the
time displayed in the Wii's OS. Since Wii doesn't have a concept of time
zones, this bias is useless to us.

Due to a previous bug with parsing SRAM data, the bias read was always 0.
Now that the bias is read correctly, we're reading and writing
preposterous times -- remove the bias from the calculation to restore
the previous setting.

So with this change, the RTC is always in UTC and the Wii system menu
date/time settings adjusts the bias as an offset from that.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/wii/dev/rtcsram.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index