notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gp2x+wiz binary support, wiz code wip
[libpicofe.git]
/
common
/
config.c
diff --git
a/common/config.c
b/common/config.c
index
c5ff538
..
4f80c86
100644
(file)
--- a/
common/config.c
+++ b/
common/config.c
@@
-451,13
+451,13
@@
static int custom_read(menu_entry *me, const char *var, const char *val)
#ifdef __GP2X__
if (strcasecmp(var, "Scaling") != 0) return 0;
if (strcasecmp(val, "OFF") == 0) {
#ifdef __GP2X__
if (strcasecmp(var, "Scaling") != 0) return 0;
if (strcasecmp(val, "OFF") == 0) {
- currentConfig.scaling =
0
;
+ currentConfig.scaling =
EOPT_SCALE_NONE
;
} else if (strcasecmp(val, "hw horizontal") == 0) {
} else if (strcasecmp(val, "hw horizontal") == 0) {
- currentConfig.scaling =
1
;
+ currentConfig.scaling =
EOPT_SCALE_HW_H
;
} else if (strcasecmp(val, "hw horiz. + vert.") == 0) {
} else if (strcasecmp(val, "hw horiz. + vert.") == 0) {
- currentConfig.scaling =
2
;
+ currentConfig.scaling =
EOPT_SCALE_HW_HV
;
} else if (strcasecmp(val, "sw horizontal") == 0) {
} else if (strcasecmp(val, "sw horizontal") == 0) {
- currentConfig.scaling =
3
;
+ currentConfig.scaling =
EOPT_SCALE_SW_H
;
} else
return 0;
return 1;
} else
return 0;
return 1;