X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpsp%2Fmenu.c;h=ca40cfe7b1c0c0aa37b33ae888a739acabfb3c65;hb=2d2247c26080ed9009b3d8c650cfc647fd1fb162;hp=19151cc1856b06446aa4c8b4a48dafdffcbdc20b;hpb=d6114368e1ee2cc4e6f0eb2785a1fce626987897;p=picodrive.git diff --git a/platform/psp/menu.c b/platform/psp/menu.c index 19151cc..ca40cfe 100644 --- a/platform/psp/menu.c +++ b/platform/psp/menu.c @@ -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 }