mirror of https://github.com/PrimeDecomp/prime.git
8 lines
298 B
Bash
8 lines
298 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
OBJDUMP="$DEVKITPPC/bin/powerpc-eabi-objdump -D -bbinary -EB -mpowerpc -M gekko"
|
||
|
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
|
||
|
$OBJDUMP $OPTIONS baserom.dol > baserom.dump
|
||
|
$OBJDUMP $OPTIONS build/mp1.0/main.dol > main.dump
|
||
|
diff -u --color=always baserom.dump main.dump
|