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 9ca4a9684e
commit 5788d80c78
1 changed files with 9 additions and 0 deletions

View File

@ -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/ )