mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-11-23 13:29:55 +00:00
12 lines
392 B
Bash
Executable File
12 lines
392 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
VERSION="${VERSION:=usa}"
|
|
POWERPC="${POWERPC:=tools/powerpc}"
|
|
OBJDUMP="$POWERPC/powerpc-eabi-objdump -Dz -bbinary -EB -mpowerpc -M gekko"
|
|
if [ ! -z "$1" ]; then
|
|
OPTIONS="--start-address=$(($1)) --stop-address=$(($2))"
|
|
fi
|
|
$OBJDUMP $OPTIONS baserom.dol > baserom.dump
|
|
$OBJDUMP $OPTIONS build/pikmin2.$VERSION/main.dol > main.dump
|
|
diff -u --color=always baserom.dump main.dump
|