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
/
menu_pico.c
diff --git
a/platform/common/menu_pico.c
b/platform/common/menu_pico.c
index
1d73d4a
..
969fc8e
100644
(file)
--- a/
platform/common/menu_pico.c
+++ b/
platform/common/menu_pico.c
@@
-610,7
+610,7
@@
static int mh_opt_misc(int id, int keys)
{
switch (id) {
case MA_OPT_SOUND_QUALITY:
{
switch (id) {
case MA_OPT_SOUND_QUALITY:
- P
sndRate = sndrate_prevnext(P
sndRate, keys & PBTN_RIGHT);
+ P
icoIn.sndRate = sndrate_prevnext(PicoIn.
sndRate, keys & PBTN_RIGHT);
break;
case MA_OPT_REGION:
region_prevnext(keys & PBTN_RIGHT);
break;
case MA_OPT_REGION:
region_prevnext(keys & PBTN_RIGHT);
@@
-674,7
+674,7
@@
static const char *mgn_opt_sound(int id, int *offs)
const char *str2;
*offs = -8;
str2 = (PicoIn.opt & POPT_EN_STEREO) ? "stereo" : "mono";
const char *str2;
*offs = -8;
str2 = (PicoIn.opt & POPT_EN_STEREO) ? "stereo" : "mono";
- sprintf(static_buff, "%5iHz %s", PsndRate, str2);
+ sprintf(static_buff, "%5iHz %s", P
icoIn.
sndRate, str2);
return static_buff;
}
return static_buff;
}
@@
-892,7
+892,7
@@
static void debug_menu_loop(void)
if (inp & PBTN_UP) pv->debug_p ^= PVD_KILL_S_HI;
if (inp & PBTN_MA2) pv->debug_p ^= PVD_KILL_32X;
if (inp & PBTN_MOK) {
if (inp & PBTN_UP) pv->debug_p ^= PVD_KILL_S_HI;
if (inp & PBTN_MA2) pv->debug_p ^= PVD_KILL_32X;
if (inp & PBTN_MOK) {
- PsndOut = NULL; // just in case
+ P
icoIn.
sndOut = NULL; // just in case
PicoIn.skipFrame = 1;
PicoFrame();
PicoIn.skipFrame = 0;
PicoIn.skipFrame = 1;
PicoFrame();
PicoIn.skipFrame = 0;