RTC changes :
- Replace linux-time.c and win-time.c with universal rtc.c code - Add RTC binary and 12-hour modes, century register, and alarm support - Cleaned up nvr.c a bit - Fix handling of update ended flag - Add ability to disable host clock synchronisation Changes from Battler and Mahod.
This commit is contained in:
parent
9f4b159121
commit
074de51639
14 changed files with 561 additions and 135 deletions
5
src/pc.c
5
src/pc.c
|
|
@ -97,6 +97,7 @@ void fatal(const char *format, ...)
|
|||
va_end(ap);
|
||||
fputs(buf,pclogf);
|
||||
fflush(pclogf);
|
||||
savenvr();
|
||||
dumppic();
|
||||
dumpregs();
|
||||
exit(-1);
|
||||
|
|
@ -679,6 +680,8 @@ void loadconfig(char *fn)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
enable_sync = config_get_int(NULL, "enable_sync", 1);
|
||||
}
|
||||
|
||||
void saveconfig()
|
||||
|
|
@ -764,6 +767,8 @@ void saveconfig()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
config_set_int(NULL, "enable_sync", enable_sync);
|
||||
|
||||
config_save(config_file_default);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue