Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Support for OSX #91

Merged
merged 14 commits into from
Apr 25, 2020
Prev Previous commit
Next Next commit
Revert "baserom_original -> input"
This reverts commit d919946.
  • Loading branch information
ethteck committed Apr 23, 2020
commit bada8c893c592b228ae946c6b826247f44c0abf7
10 changes: 5 additions & 5 deletions fixbaserom.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def get_str_hash(byte_array):

# Determine if we have a ROM file
romFileName = ""
if path.exists("input.z64"):
romFileName = "input.z64"
elif path.exists("input.n64"):
romFileName = "input.n64"
if path.exists("baserom_original.z64"):
romFileName = "baserom_original.z64"
elif path.exists("baserom_original.n64"):
romFileName = "baserom_original.n64"

# Read in the original ROM
if romFileName != "":
Expand All @@ -47,7 +47,7 @@ def get_str_hash(byte_array):

print("Byte swapping done.")
else:
print("Error: Could not find input.z64/input.n64.")
print("Error: Could not find baserom_original.z64/baserom_original.n64.")
sys.exit(1)

# Strip the overdump
Expand Down