forked from len0rd/rockbox
Simulators: Made the mp3 buffer size depend on the MEMORYSIZE setting for better simulation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5922 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
83db7615da
commit
b4527a3421
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "buffer.h"
|
||||
|
||||
#ifdef SIMULATOR
|
||||
unsigned char mp3buffer[0x200000];
|
||||
unsigned char mp3buffer[(MEM*1024-256)*1024];
|
||||
unsigned char *mp3end = mp3buffer + sizeof(mp3buffer);
|
||||
#else
|
||||
/* defined in linker script */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue