From e0fb9d7bacbe38ff0cc1b57f5bf293cdeaa2f106 Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 28 Feb 2022 22:59:58 -0800 Subject: [PATCH] Delete custom sounds on 32-bit, they are currently breaking the build --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 3d8738d7..f4a40965 100644 --- a/Makefile +++ b/Makefile @@ -304,6 +304,15 @@ ifeq ($(NOEXTRACT),0) endif endif +# Luigi and wario sounds don't work on 32-bit right now +# And the audio code is so terrible I don't care enough to figure it out at the moment +ifeq ($(TARGET_BITS), 32) + $(shell rm -rf sound/samples/sfx_custom_luigi/*.aiff) + $(shell rm -rf sound/samples/sfx_custom_luigi_peach/*.aiff) + $(shell rm -rf sound/samples/sfx_custom_wario/*.aiff) + $(shell rm -rf sound/samples/sfx_custom_wario_peach/*.aiff) +endif + # Copy missing luigi sounds from mario sound banks $(shell mkdir -p sound/samples/sfx_custom_luigi sound/samples/sfx_custom_luigi_peach ) $(shell cp -n sound/samples/sfx_mario/*.aiff sound/samples/sfx_custom_luigi/ )