From c3779a46f574a5825858227b240f49e10639adb1 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 12 Feb 2024 21:02:47 +0200 Subject: [PATCH] Quickstart ALG/Picmatic PAL/NTSC selection --- cfgfile.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; } } -- 2.47.3