diff --git a/apps/codecs/SOURCES b/apps/codecs/SOURCES index 5dc7f31c56..4e4f994a2a 100644 --- a/apps/codecs/SOURCES +++ b/apps/codecs/SOURCES @@ -16,10 +16,7 @@ ape.c nsf.c asap.c aac.c - -#if MEMORYSIZE > 2 spc.c -#endif mod.c shorten.c aiff.c diff --git a/apps/codecs/libspc/spc_codec.h b/apps/codecs/libspc/spc_codec.h index a6dcd0a8bc..923645b4aa 100644 --- a/apps/codecs/libspc/spc_codec.h +++ b/apps/codecs/libspc/spc_codec.h @@ -47,7 +47,7 @@ /* TGB is the only target fast enough for gaussian and realtime BRR decode */ /* echo is almost fast enough but not quite */ #if defined(TOSHIBA_GIGABEAT_F) || defined(TOSHIBA_GIGABEAT_S) ||\ - defined(SIMULATOR) + defined(SIMULATOR) || MEMORYSIZE <= 2 /* Don't cache BRR waves */ #define SPC_BRRCACHE 0