bsnes/higan
Talarubi a9571ff5b8 Fixed: Restore SPC7110 and S-RTC time properly
Loading and unloading the RTC is a little odd, since it's normally
always powered in the first place. What we want, and what the load()
functions really do, is to resync using the saved timestamps or
reset it. unload() proper doesn't do anything.

However, an interface refactoring after v098 reordered the above
operations, and this (along with a typo, shh!) was causing the already
synced time to be cleared.

I've added checks so that whenever rtc.ram can't be found, load() gets
called with empty arguments to initialise the defaults (like putting
in a fresh battery).
2017-10-24 23:16:22 -04:00
..
audio Update to v103r16 release. 2017-07-17 20:32:36 +10:00
data Update to v104r10 release. 2017-09-01 21:21:06 +10:00
emulator Update to v105 release. 2017-10-07 19:49:07 +11:00
fc Update to v104r14 release. 2017-09-24 11:01:48 +10:00
gb Update to v104r14 release. 2017-09-24 11:01:48 +10:00
gba Update to v104r14 release. 2017-09-24 11:01:48 +10:00
md Update to v104r14 release. 2017-09-24 11:01:48 +10:00
ms Update to v104r14 release. 2017-09-24 11:01:48 +10:00
obj Update to v096r01 release. 2015-12-30 17:54:59 +11:00
out Update to v096r01 release. 2015-12-30 17:54:59 +11:00
pce Update to v104r14 release. 2017-09-24 11:01:48 +10:00
processor Update to v104r17 release. 2017-10-05 17:13:03 +11:00
resource Update to v104r10 release. 2017-09-01 21:21:06 +10:00
sfc Fixed: Restore SPC7110 and S-RTC time properly 2017-10-24 23:16:22 -04:00
systems Update to v103r32 release. 2017-08-12 02:02:09 +10:00
target-tomoko Update to v105 release. 2017-10-07 19:49:07 +11:00
video Update to v102r22 release. 2017-06-09 00:08:02 +10:00
ws Update to v104r14 release. 2017-09-24 11:01:48 +10:00
GNUmakefile Update to v105 release. 2017-10-07 19:49:07 +11:00