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:
Uwe Freese 2003-03-03 14:05:47 +00:00
parent e193604c9b
commit 21130ebc29

View file

@ -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)