some minor adjustments
[libpicofe.git] / psp / menu.c
index 5fb2d04..bc7c875 100644 (file)
@@ -185,7 +185,7 @@ struct my_dirent
 static unsigned short file2color(const char *fname)
 {
        const char *ext = fname + strlen(fname) - 3;
-       static const char *rom_exts[]   = { "zip", "bin", "smd", "gen", "iso" };
+       static const char *rom_exts[]   = { "zip", "bin", "smd", "gen", "iso", "cso" };
        static const char *other_exts[] = { "gmv", "pat" };
        int i;
 
@@ -1394,6 +1394,10 @@ static void menu_options_save(void)
        PicoOpt = currentConfig.PicoOpt;
        PsndRate = currentConfig.PsndRate;
        PicoRegionOverride = currentConfig.PicoRegion;
+       if (PicoRegionOverride) {
+               // force setting possibly changed..
+               Pico.m.pal = (PicoRegionOverride == 2 || PicoRegionOverride == 8) ? 1 : 0;
+       }
        if (!(PicoOpt & 0x20)) {
                // unbind XYZ MODE, just in case
                unbind_action(0xf00);