diff options
| author | cadmic <cadmic24@gmail.com> | 2024-01-05 14:27:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-05 23:27:19 +0100 |
| commit | 25ff0a27de771f631369721ce1e8ca7ad7be8cfd (patch) | |
| tree | 54b901ce526e95d5c8d4af9e14032713cb89ee53 /first_diff.py | |
| parent | 1f9c28f370d73268981fd8a42f9c6ac15b560a1a (diff) | |
Create separate build directories based on version (#1591)
* Create separate build directories based on version
* Fix find_unused_asm.sh
* Remove find_unused_asm.sh from Jenkinsfile
* Revert diff.py
* Clarify that gc-eu-mq is not "supported" yet
* Revert xmlcreate.py (to be deleted)
* Remove gc-eu-mq for now
* Add version flags to diff_settings.py and sym_info.py
* --version -> --oot-version
* Fix --oot-version
* Revert adding version flags to tools
* Delete find_unused_asm.sh
* Revert changes to first_diff.py output in tutorial
* Factor out sed usages for spec
Diffstat (limited to 'first_diff.py')
| -rwxr-xr-x | first_diff.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/first_diff.py b/first_diff.py index f956ca26a..6d599d7a9 100755 --- a/first_diff.py +++ b/first_diff.py @@ -39,14 +39,14 @@ def firstDiffMain(): parser = argparse.ArgumentParser(description="Find the first difference(s) between the built ROM and the base ROM.") parser.add_argument("-c", "--count", type=int, default=5, help="find up to this many instruction difference(s)") - parser.add_argument("-v", "--version", help="Which version should be processed", default="mq_dbg") + parser.add_argument("-v", "--version", help="Which version should be processed", default="gc-eu-mq-dbg") parser.add_argument("-a", "--add-colons", action='store_true', help="Add colon between bytes" ) args = parser.parse_args() - buildFolder = Path("build") + buildFolder = Path("build") / args.version - BUILTROM = Path(f"zelda_ocarina_{args.version}.z64") + BUILTROM = Path(f"oot-{args.version}.z64") BUILTMAP = buildFolder / f"z64.map" EXPECTEDROM = Path("baserom.z64") |
