Merge pull request #38 from vulcandth/md5-to-sha1

MD5 to SHA1
This commit is contained in:
huderlem
2022-05-14 09:29:44 -05:00
committed by GitHub
4 changed files with 8 additions and 4 deletions

View File

@@ -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
@@ -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

View File

@@ -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).

View File

@@ -1 +0,0 @@
fbe20570c2e52c937a9395024069ba3c pokepinball.gbc

1
rom.sha1 Normal file
View File

@@ -0,0 +1 @@
9402014d14969432142abfde728c6f1a10ee4dac *pokepinball.gbc