Add -o / --output option to rgbfix to write separate output files (#1666)

This commit is contained in:
John Millikin
2025-04-20 12:17:11 +09:00
committed by GitHub
parent c841672059
commit bc8d99d915
5 changed files with 68 additions and 13 deletions

View File

@@ -17,6 +17,7 @@
.Op Fl l Ar licensee_id
.Op Fl m Ar mbc_type
.Op Fl n Ar rom_version
.Op Fl o Ar out_file
.Op Fl p Ar pad_value
.Op Fl r Ar ram_size
.Op Fl t Ar title_str
@@ -134,6 +135,9 @@ Set the ROM version
to a given value from 0 to 0xFF.
.It Fl O , Fl \-overwrite
Allow overwriting different non-zero bytes in the header without a warning being emitted.
.It Fl o Ar out_file , Fl \-output Ar out_file
Write the modified ROM image to the given file, or '-' to write to standard output.
If not specified, the input files are modified in-place, or written to standard output if read from standard input.
.It Fl p Ar pad_value , Fl \-pad-value Ar pad_value
Pad the ROM image to a valid size with a given pad value from 0 to 255 (0xFF).
.Nm