]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Update cfgfile.cpp
authorWaccoon <105848526+Waccoon@users.noreply.github.com>
Tue, 24 May 2022 07:42:21 +0000 (03:42 -0400)
committerGitHub <noreply@github.com>
Tue, 24 May 2022 07:42:21 +0000 (03:42 -0400)
Resolve problem with CIA ROM Overlay not saving when using custom chipset configuration.

cfgfile.cpp

index fffe7e54858bd5f3ed03d5273b0c635ec69c62df..1e36ec04a233be2e9b148094836ddfb20eed61e7 100644 (file)
@@ -2525,6 +2525,7 @@ void cfgfile_save_options (struct zfile *f, struct uae_prefs *p, int type)
        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("cia_overlay"), p->cs_ciaoverlay);    
        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);