mirror of https://github.com/pret/pokeemerald.git
8 lines
290 B
Bash
8 lines
290 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
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
|
||
|
diff baserom.dump pokeemerald.dump
|