From: Stefan Reinauer Date: Sun, 31 May 2026 07:20:57 +0000 (-0700) Subject: cfgfile: map legacy toccata_mixer setting X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=4e1b2fa5a718491988f001ba3e5e1ef983d645c8;p=francis%2Fwinuae.git cfgfile: map legacy toccata_mixer setting The old toccata_mixer option enabled the board but did not carry the current per-board mixer setting. Map the legacy key onto the Toccata ROM config bit so older configurations preserve the same mixer state. --- diff --git a/cfgfile.cpp b/cfgfile.cpp index 48dbc4d3..ee66b667 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -6298,7 +6298,12 @@ static int cfgfile_parse_hardware (struct uae_prefs *p, const TCHAR *option, TCH if (cfgfile_yesno(option, value, _T("toccata_mixer"), &dummybool)) { if (dummybool) { + int idx = 0; addbcromtype(p, ROMTYPE_TOCCATA, true, NULL, 0); + struct boardromconfig *brc = get_device_rom(p, ROMTYPE_TOCCATA, 0, &idx); + if (brc) { + brc->roms[idx].device_settings |= 1; + } } return 1; }