summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
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];