From 7703fc1a7d254806297b65b19bf3276218ac6140 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 14 Mar 2023 11:49:08 +0000 Subject: [PATCH] Fixed build warning when mixer not enabled --- lib_xua/src/core/mixer/fastmix.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib_xua/src/core/mixer/fastmix.S b/lib_xua/src/core/mixer/fastmix.S index 6a04a84e..49f91c7f 100644 --- a/lib_xua/src/core/mixer/fastmix.S +++ b/lib_xua/src/core/mixer/fastmix.S @@ -11,6 +11,8 @@ #error #endif +#if (MAX_MIX_COUNT > 0) + #define DOMIX_TOP(i) \ .cc_top doMix##i.function,doMix##i; \ .align 16 ;\ @@ -180,5 +182,5 @@ setPtr_go: #undef N #undef BODY - +#endif