mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
read-ahead turn off, cfg file, minor adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@399 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a5365695a4
commit
88bfc63d31
7 changed files with 163 additions and 20 deletions
|
@ -960,9 +960,9 @@ static void cd_menu_loop_options(void)
|
|||
selected_id == MA_CDOPT_READAHEAD) {
|
||||
if (inp & GP2X_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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue