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

MD5 to SHA1 #38

Merged
merged 1 commit into from
May 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
ROM := pokepinball.gbc
OBJS := main.o wram.o sram.o

MD5 := md5sum -c
ifeq (,$(shell which sha1sum))
SHA1 := shasum
else
SHA1 := sha1sum
endif

all: $(ROM) compare

Expand All @@ -26,7 +30,7 @@ $(ROM): $(OBJS) contents/contents.link

# For contributors to make sure a change didn't affect the contents of the rom.
compare: $(ROM)
@$(MD5) rom.md5
@$(SHA1) -c rom.sha1

tools:
$(MAKE) -C tools
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is a disassembly of Pokémon Pinball (Game Boy Color).

It builds the following rom:

* Pokemon Pinball (U) [C][!].gb `md5: fbe20570c2e52c937a9395024069ba3c`
* Pokemon Pinball (U) [C][!].gb `sha1: 9402014d14969432142abfde728c6f1a10ee4dac`

To set up the repository, see [**INSTALL.md**](INSTALL.md).

Expand Down
1 change: 0 additions & 1 deletion rom.md5

This file was deleted.

1 change: 1 addition & 0 deletions rom.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9402014d14969432142abfde728c6f1a10ee4dac *pokepinball.gbc