mirror of
https://github.com/pret/pokeruby.git
synced 2024-11-23 04:59:53 +00:00
61c433d5c3
`colordiff` breaks output piping and invokes an additional dependency that no one needs
8 lines
284 B
Bash
Executable File
8 lines
284 B
Bash
Executable File
#!/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 pokeruby.gba > pokeruby.dump
|
|
diff -u baserom.dump pokeruby.dump
|