Delete custom sounds on 32-bit, they are currently breaking the build

This commit is contained in:
MysterD 2022-02-28 22:59:58 -08:00
parent 2f15b4664c
commit e0fb9d7bac

View file

@ -304,6 +304,15 @@ ifeq ($(NOEXTRACT),0)
endif endif
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 # Copy missing luigi sounds from mario sound banks
$(shell mkdir -p sound/samples/sfx_custom_luigi sound/samples/sfx_custom_luigi_peach ) $(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/ ) $(shell cp -n sound/samples/sfx_mario/*.aiff sound/samples/sfx_custom_luigi/ )