Fix asmdiff without devkitARM

This commit is contained in:
Mateon1 2024-11-05 16:47:52 +01:00
parent 07e740f2e3
commit 8710494e40
No known key found for this signature in database
GPG Key ID: 6A6067123E4CAF6E

View File

@ -1,6 +1,10 @@
#!/bin/bash
OBJDUMP_BIN="arm-none-eabi-objdump"
if [[ -n "$DEVKITARM" ]]; then
OBJDUMP_BIN="$DEVKITARM/bin/arm-none-eabi-objdump"
else
OBJDUMP_BIN="arm-none-eabi-objdump"
fi
OBJDUMP="$OBJDUMP_BIN -D -bbinary -marmv4t -Mforce-thumb"