From: Toni Wilen Date: Mon, 12 Feb 2024 19:02:47 +0000 (+0200) Subject: Quickstart ALG/Picmatic PAL/NTSC selection X-Git-Tag: 5200~9 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=c3779a46f574a5825858227b240f49e10639adb1;p=francis%2Fwinuae.git Quickstart ALG/Picmatic PAL/NTSC selection --- diff --git a/cfgfile.cpp b/cfgfile.cpp index d76d1e76..3a9f8447 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -9420,7 +9420,7 @@ static int bip_arcadia (struct uae_prefs *p, int config, int compa, int romcheck return 1; } -static int bip_alg(struct uae_prefs* p, int config, int compa, int romcheck) +static int bip_alg(struct uae_prefs *p, int config, int compa, int romcheck) { int roms[4], i; struct romlist** rl; @@ -9450,6 +9450,11 @@ static int bip_alg(struct uae_prefs* p, int config, int compa, int romcheck) roms[0] = rl[i]->rd->id; roms[1] = -1; configure_rom(p, roms, 0); + const TCHAR *name = rl[i]->rd->name; + p->ntscmode = true; + if (_tcsstr(name, _T("Picmatic"))) { + p->ntscmode = false; + } break; } }