X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Fmenu_pico.c;h=969fc8e23659043217243e746295236fe9d78e89;hb=6311a3baf533d4a034e51dfe38e8cb213a1bf442;hp=1d73d4a7c4cfb0a9409c68eee30648f9e320950f;hpb=35f2b65ef708e7afc922ceda8d00b716de289610;p=picodrive.git diff --git a/platform/common/menu_pico.c b/platform/common/menu_pico.c index 1d73d4a..969fc8e 100644 --- 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: - PsndRate = sndrate_prevnext(PsndRate, keys & PBTN_RIGHT); + PicoIn.sndRate = sndrate_prevnext(PicoIn.sndRate, 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"; - sprintf(static_buff, "%5iHz %s", PsndRate, str2); + sprintf(static_buff, "%5iHz %s", PicoIn.sndRate, str2); 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) { - PsndOut = NULL; // just in case + PicoIn.sndOut = NULL; // just in case PicoIn.skipFrame = 1; PicoFrame(); PicoIn.skipFrame = 0;