notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move more globals to PicoInterface
[picodrive.git]
/
platform
/
common
/
config_file.c
diff --git
a/platform/common/config_file.c
b/platform/common/config_file.c
index
2d1186d
..
1b5c517
100644
(file)
--- a/
platform/common/config_file.c
+++ b/
platform/common/config_file.c
@@
-259,9
+259,9
@@
static int custom_read(menu_entry *me, const char *var, const char *val)
case MA_OPT_SOUND_QUALITY:
if (strcasecmp(var, "Sound Quality") != 0) return 0;
case MA_OPT_SOUND_QUALITY:
if (strcasecmp(var, "Sound Quality") != 0) return 0;
- PsndRate = strtoul(val, &tmp, 10);
- if (P
sndRate < 8000 || P
sndRate > 44100)
- PsndRate = 22050;
+ P
icoIn.
sndRate = strtoul(val, &tmp, 10);
+ if (P
icoIn.sndRate < 8000 || PicoIn.
sndRate > 44100)
+ P
icoIn.
sndRate = 22050;
if (*tmp == 'H' || *tmp == 'h') tmp++;
if (*tmp == 'Z' || *tmp == 'z') tmp++;
while (*tmp == ' ') tmp++;
if (*tmp == 'H' || *tmp == 'h') tmp++;
if (*tmp == 'Z' || *tmp == 'z') tmp++;
while (*tmp == ' ') tmp++;