1
0
Fork 0
forked from len0rd/rockbox

flac: Fix build on Cowon D2.

Not enough IRAM on this target to support larger MAX_BLOCKSIZE even with
only 2ch.

Change-Id: I91675b9eb294f8af3f7d17aa9c76c7cb83ce0bd7
This commit is contained in:
Solomon Peachy 2025-09-09 08:07:34 -04:00
parent c5e5a537c0
commit 01a62372ff
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
#define IBSS_ATTR_FLAC_XXLARGE_IRAM
#endif
#if (ARCH == ARCH_M68K) || defined(CPU_PP) || MEMORYSIZE <= 2
#if (ARCH == ARCH_M68K) || defined(CPU_PP) || defined(CPU_TCC780X) || (MEMORYSIZE <= 2)
#define MAX_BLOCKSIZE 4608
#else
#define MAX_BLOCKSIZE 8192