notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svp compiler: added first wait loop detection
[picodrive.git]
/
platform
/
psp
/
menu.c
diff --git
a/platform/psp/menu.c
b/platform/psp/menu.c
index
5fb2d04
..
bc7c875
100644
(file)
--- a/
platform/psp/menu.c
+++ b/
platform/psp/menu.c
@@
-185,7
+185,7
@@
struct my_dirent
static unsigned short file2color(const char *fname)
{
const char *ext = fname + strlen(fname) - 3;
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;
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;
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);
if (!(PicoOpt & 0x20)) {
// unbind XYZ MODE, just in case
unbind_action(0xf00);