mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
read-ahead turn off, cfg file, minor adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@399 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
d6114368e1
commit
2d2247c260
10 changed files with 186 additions and 57 deletions
|
@ -921,9 +921,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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue