Clock adjust modifier config file support.
This commit is contained in:
parent
2ffec9b341
commit
87e646d86e
1 changed files with 3 additions and 1 deletions
|
@ -2280,6 +2280,7 @@ void cfgfile_save_options(struct zfile* f, struct uae_prefs* p, int type)
|
|||
cfgfile_write_str(f, _T("chipset_compatible"), cscompa[p->cs_compatible]);
|
||||
cfgfile_dwrite_str(f, _T("ciaatod"), ciaatodmode[p->cs_ciaatod]);
|
||||
cfgfile_dwrite_str(f, _T("rtc"), rtctype[p->cs_rtc]);
|
||||
cfgfile_dwrite(f, _T("chipset_rtc_adjust"), _T("%d"), p->cs_rtc_adjust);
|
||||
cfgfile_dwrite_bool(f, _T("ksmirror_e0"), p->cs_ksmirror_e0);
|
||||
cfgfile_dwrite_bool(f, _T("ksmirror_a8"), p->cs_ksmirror_a8);
|
||||
cfgfile_dwrite_bool(f, _T("cd32cd"), p->cs_cd32cd);
|
||||
|
@ -4338,7 +4339,8 @@ static int cfgfile_parse_hardware(struct uae_prefs* p, const TCHAR* option, TCHA
|
|||
|| cfgfile_intval(option, value, _T("floppy0type"), &p->floppyslots[0].dfxtype, 1)
|
||||
|| cfgfile_intval(option, value, _T("floppy1type"), &p->floppyslots[1].dfxtype, 1)
|
||||
|| cfgfile_intval(option, value, _T("floppy2type"), &p->floppyslots[2].dfxtype, 1)
|
||||
|| cfgfile_intval(option, value, _T("floppy3type"), &p->floppyslots[3].dfxtype, 1))
|
||||
|| cfgfile_intval(option, value, _T("floppy3type"), &p->floppyslots[3].dfxtype, 1)
|
||||
|| cfgfile_intval(option, value, _T("chipset_rtc_adjust"), &p->cs_rtc_adjust, 1))
|
||||
return 1;
|
||||
|
||||
if (cfgfile_strval(option, value, _T("rtc"), &p->cs_rtc, rtctype, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue