From 8710494e40c766dc321e7f6dd08e15e451d11c6f Mon Sep 17 00:00:00 2001 From: Mateon1 Date: Tue, 5 Nov 2024 16:47:52 +0100 Subject: [PATCH] Fix asmdiff without devkitARM --- asmdiff.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/asmdiff.sh b/asmdiff.sh index 886d54f3..f9c77629 100755 --- a/asmdiff.sh +++ b/asmdiff.sh @@ -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"