Found the only one point that led to imcompatibility of the CVS code with a 8MB AJB. Finally, CVS is 8 MB-mod compliant. :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3374 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e193604c9b
commit
21130ebc29
1 changed files with 3 additions and 0 deletions
|
@ -1696,6 +1696,9 @@ static void mpeg_thread(void)
|
|||
|
||||
/* Don't read more than until the end of the buffer */
|
||||
amount_to_read = MIN(mp3buflen - mp3buf_write, amount_to_read);
|
||||
#if MEM == 8
|
||||
amount_to_read = MIN(0x100000, amount_to_read);
|
||||
#endif
|
||||
|
||||
/* Read as much mpeg data as we can fit in the buffer */
|
||||
if(mpeg_file >= 0)
|
||||
|
|
Loading…
Reference in a new issue