bsnes/higan/sfc/cartridge
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
..
cartridge.cpp Update to v102r28 release. 2017-06-20 22:34:50 +10:00
cartridge.hpp Update to v102r28 release. 2017-06-20 22:34:50 +10:00
load.cpp Fixed: Restore SPC7110 and S-RTC time properly 2017-10-24 23:16:22 -04:00
save.cpp Update to v101r31 release. 2017-01-13 12:15:45 +11:00
serialization.cpp Update to v096r01 release. 2015-12-30 17:54:59 +11:00