mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
|
@ -430,7 +430,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
= rb->plugin_get_audio_buffer(&audio_buffer_free);
|
||||
plugbuf=false;
|
||||
}
|
||||
#if MEM <= 8 && (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
#if MEMORYSIZE <= 8 && (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
/* loaded as an overlay plugin, protect from overwriting ourselves */
|
||||
if ((unsigned)(plugin_start_addr - (unsigned char *)audio_bufferbase)
|
||||
< audio_buffer_free)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue