X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=platform%2Fpsp%2Fmenu.c;h=fda3eadc7937da918be0d6b73ac6976fdd04506b;hb=381eea9b6f92cdc9a7223a0743f070719bbed7d8;hp=19151cc1856b06446aa4c8b4a48dafdffcbdc20b;hpb=bdec53c90b6e53990fc206cabaec31b844f34d1e;p=picodrive.git diff --git a/platform/psp/menu.c b/platform/psp/menu.c index 19151cc..fda3ead 100644 --- a/platform/psp/menu.c +++ b/platform/psp/menu.c @@ -573,7 +573,7 @@ static void draw_savestate_bg(int slot) } if (file) { - if (PicoMCD & 1) { + if (PicoAHW & PAHW_MCD) { PicoCdLoadStateGfx(file); } else { areaSeek(file, 0x10020, SEEK_SET); // skip header and RAM in state file @@ -936,9 +936,9 @@ static void cd_menu_loop_options(void) selected_id == MA_CDOPT_READAHEAD) { if (inp & BTN_LEFT) { PicoCDBuffers >>= 1; - if (PicoCDBuffers < 64) PicoCDBuffers = 0; + if (PicoCDBuffers < 2) PicoCDBuffers = 0; } else { - if (PicoCDBuffers < 64) PicoCDBuffers = 64; + if (PicoCDBuffers < 2) PicoCDBuffers = 2; else PicoCDBuffers <<= 1; if (PicoCDBuffers > 8*1024) PicoCDBuffers = 8*1024; // 16M }