From ecf2f747edae9ffc3eb0057958da41915cbfac19 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 22 Jun 2005 02:47:54 +0000 Subject: Daniel's fix that loads codecs in their own memory space git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index dbfdca5..94967c7 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -80,6 +80,14 @@ #endif +/* These three sizes must match the ones set in plugins/plugin.lds */ +#if MEM >= 32 +#define PLUGIN_BUFFER_SIZE 0xC0000 +#else +#define PLUGIN_BUFFER_SIZE 0x8000 +#endif +#define CODEC_BUFFER_SIZE 0x3C000 + #ifdef SIMULATOR #define PREFIX(_x_) sim_ ## _x_ #else -- cgit v1.1