diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-02-15 14:00:37 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-02-15 14:00:37 +0000 |
| commit | e452383359dc25750b5bb90318fcf4269c4ec2d2 (patch) | |
| tree | 945514f895bb55feb90e64b9425e8a04a9b6578b /apps/plugin.c | |
| parent | a11bb63d1ed4715fad571cb388cc2b104edc52bb (diff) | |
| download | rockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.zip rockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.tar.gz rockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.tar.bz2 rockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.tar.xz | |
Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index b9b8816..cf5e8a0 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -62,7 +62,11 @@ #define PREFIX(_x_) _x_ #endif +#if MEMORYSIZE >= 32 +#define PLUGIN_BUFFER_SIZE 0xC0000 +#else #define PLUGIN_BUFFER_SIZE 0x8000 +#endif #ifdef SIMULATOR static unsigned char pluginbuf[PLUGIN_BUFFER_SIZE]; |