summaryrefslogtreecommitdiff
path: root/asmdiff.sh
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:29:02 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 13:29:02 -0500
commitcc5db41f30708c1cc2d33a46879c96a9404764a3 (patch)
treed59ba2fd880b8eb47ab7e1a5885d067b028598ff /asmdiff.sh
parentaad94c34334ee44f1298175df38f14dc27ae5fb8 (diff)
Revert multiple source change commits for rebase.
Diffstat (limited to 'asmdiff.sh')
-rwxr-xr-xasmdiff.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/asmdiff.sh b/asmdiff.sh
index 534281fdf..9e8749acf 100755
--- a/asmdiff.sh
+++ b/asmdiff.sh
@@ -1,11 +1,6 @@
#!/bin/bash
-if [[ -d "$DEVKITARM/bin/" ]]; 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"
+OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb"
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
$OBJDUMP $OPTIONS baserom.gba > baserom.dump
$OBJDUMP $OPTIONS pokeemerald.gba > pokeemerald.dump