Specify rgbfix --mbc-type by name

This supports the names listed in Pan Docs:
https://gbdev.io/pandocs/#_0147-cartridge-type
Spaces may be replaced with underscores.

It also supports "ROM" for "ROM ONLY".
This commit is contained in:
Rangi
2020-12-10 10:37:53 -05:00
committed by Eldred Habert
parent 861cb552c4
commit e6552064bf
2 changed files with 56 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ This value is deprecated and should be set to 0x33 in all new software.
Set the MBC type,
.Ad 0x147 ,
to a given value from 0 to 0xFF.
This value may also be an MBC name from the Pan Docs.
.It Fl n Ar rom_version , Fl Fl rom-version Ar rom_version
Set the ROM version,
.Ad 0x14C ,