move more globals to PicoInterface
[picodrive.git] / platform / psp / menu.c
index de63d34..ab022f9 100644 (file)
@@ -1227,7 +1227,7 @@ static void menu_opt_cust_draw(const menu_entry *entry, int x, int y, void *para
                        break;
                case MA_OPT_SOUND_QUALITY:
                        str = (PicoIn.opt&0x08)?"stereo":"mono";
-                       text_out16(x, y, "Sound Quality:     %5iHz %s", PsndRate, str);
+                       text_out16(x, y, "Sound Quality:     %5iHz %s", PicoIn.sndRate, str);
                        break;
                case MA_OPT_REGION:
                        text_out16(x, y, "Region:              %s", me_region_name(PicoIn.regionOverride, PicoIn.autoRgnOrder));
@@ -1353,7 +1353,7 @@ static int menu_loop_options(void)
                                                }
                                                break;
                                        case MA_OPT_SOUND_QUALITY:
-                                               PsndRate = sndrate_prevnext(PsndRate, inp & PBTN_RIGHT);
+                                               PicoIn.sndRate = sndrate_prevnext(PicoIn.sndRate, inp & PBTN_RIGHT);
                                                break;
                                        case MA_OPT_REGION:
                                                region_prevnext(inp & PBTN_RIGHT);