diff --git a/src/spritecache.cpp b/src/spritecache.cpp index 3c6aef0184..195de14bbc 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 {