Skip to content

Commit

Permalink
Merge pull request #27 from iAmG-r00t/master
Browse files Browse the repository at this point in the history
Add requirement Section in README and Fix Makefile
  • Loading branch information
mattcurrie committed Mar 13, 2022
2 parents 494b3ac + 7acaf7d commit d43cd40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ A Game Boy ROM disassembler.
- Uses defines from hardware.inc v2.7 for hardware registers ([source](https://github.com/tobiasvl/hardware.inc))
- Slow on large ROMs

## Requirements

The assembly files generated by mgbdis are designed to be assembled with [RGBDS](https://rgbds.gbdev.io).

## Usage

Expand Down
2 changes: 1 addition & 1 deletion mgbdis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ def write_makefile(self):
else:
f.write('\trgblink -n game.sym -m game.map -o $@ $<\n')
f.write('\trgbfix -v -p 255 $@\n\n')
f.write('\tmd5 $@\n\n')
f.write('\t@if which md5sum &>/dev/null; then md5sum $@; else md5 $@; fi\n\n')

f.write('clean:\n')
f.write('\trm -f game.o game.{} game.sym game.map\n'.format(rom_extension))
Expand Down

0 comments on commit d43cd40

Please sign in to comment.