summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/spritecache.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/spritecache.cpp b/src/spritecache.cpp
index 3c6aef018..195de14bb 100644
--- a/src/spritecache.cpp
+++ b/src/spritecache.cpp
@@ -10,7 +10,9 @@
#include "fileio.h"
#include "helpers.hpp"
-#define SPRITE_CACHE_SIZE 1024*1024
+#ifndef SPRITE_CACHE_SIZE
+# define SPRITE_CACHE_SIZE 2*1024*1024
+#endif /* SPRITE_CACHE_SIZE */
typedef struct SpriteCache {