diff options
author | Vencislav Atanasov <user890104@freemyipod.org> | 2024-11-20 02:20:12 +0200 |
---|---|---|
committer | Vencislav Atanasov <user890104@freemyipod.org> | 2024-11-20 12:31:09 +0200 |
commit | 5c6d463cc3a3bc6b2f1065c737ae2fae2418a6fb (patch) | |
tree | 5f60795bfe9994a9871f890f47f4b1164362faae | |
parent | 8bf6dc521f9cc7aeb75f76c7edbf4c6b0224d9da (diff) | |
download | rockbox-5c6d463cc3.tar.gz rockbox-5c6d463cc3.zip |
Simplify libgme define
Change-Id: I3e66f57b3640246bde9fc1c5d75b094553f8598c
-rw-r--r-- | lib/rbcodec/codecs/libgme/blargg_common.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/rbcodec/codecs/libgme/blargg_common.h b/lib/rbcodec/codecs/libgme/blargg_common.h index 74cc227eed..92d06554d1 100644 --- a/lib/rbcodec/codecs/libgme/blargg_common.h +++ b/lib/rbcodec/codecs/libgme/blargg_common.h @@ -27,18 +27,10 @@ #define FP_ONE_VOLUME FP_ONE_GAIN // IRAM configuration -#if (CONFIG_CPU == MCF5250) -#define EMU2413_CALC_ICODE - -#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) -#define EMU2413_CALC_ICODE ICODE_ATTR - -#elif defined(CPU_S5L870X) -#define EMU2413_CALC_ICODE - +#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) + #define EMU2413_CALC_ICODE ICODE_ATTR #else -#define EMU2413_CALC_ICODE - + #define EMU2413_CALC_ICODE #endif // BLARGG_RESTRICT: equivalent to C99's restrict, where supported |