forked from len0rd/rockbox
Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
35bcdef144
commit
5d849a963e
26 changed files with 33 additions and 41 deletions
|
|
@ -1623,7 +1623,7 @@ static void mpeg_thread(void)
|
|||
#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
/* MMC is slow, so don't read too large chunks */
|
||||
amount_to_read = MIN(0x40000, amount_to_read);
|
||||
#elif MEM == 8
|
||||
#elif MEMORYSIZE == 8
|
||||
amount_to_read = MIN(0x100000, amount_to_read);
|
||||
#endif
|
||||
|
||||
|
|
@ -1933,7 +1933,7 @@ static void mpeg_thread(void)
|
|||
#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
/* MMC is slow, so don't save too large chunks at once */
|
||||
amount_to_save = MIN(0x40000, amount_to_save);
|
||||
#elif MEM == 8
|
||||
#elif MEMORYSIZE == 8
|
||||
amount_to_save = MIN(0x100000, amount_to_save);
|
||||
#endif
|
||||
rc = write(mpeg_file, audiobuf + audiobuf_read,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue