set initial rtc for epson and sharp rtc in new BSNES

this is needed due to the complete lack of time.rtc handling (and even then, if SaveRAM doesn't exist this is needed)
This commit is contained in:
CasualPokePlayer 2023-04-01 02:13:47 -07:00
parent a31ecb7c0f
commit e4a6d9db67
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -334,6 +334,8 @@ auto Program::load() -> void {
}
auto Program::load(uint id, string name, string type, vector<string> options) -> Emulator::Platform::Load {
// This needs to occur here rather than snes_init, as callbacks aren't set yet then
emulator->synchronize(time());
if (id == 1)
{