]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Quickstart ALG/Picmatic PAL/NTSC selection
authorToni Wilen <twilen@winuae.net>
Mon, 12 Feb 2024 19:02:47 +0000 (21:02 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 12 Feb 2024 19:02:47 +0000 (21:02 +0200)
cfgfile.cpp

index d76d1e76474e0e3a5993905af15a1b11e8b1fae6..3a9f8447890b6aa006610bf76025e5600ee00fa3 100644 (file)
@@ -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_prefsp, 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;
                }
        }