mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
give warning if -c/-o overwrites last character of new title
This commit is contained in:
@@ -481,6 +481,12 @@ main(int argc, char *argv[])
|
||||
if (!(ulOptions & OPTF_QUIET) && gbc_mode == 0xC0) {
|
||||
printf("\tGame Boy Color only mode set\n");
|
||||
}
|
||||
|
||||
if (ulOptions & OPTF_TITLE) {
|
||||
if (cartname[0xF]) {
|
||||
Warning("Last character of cartridge title was overwritten by '-%c' option", gbc_mode == 0x80 ? 'c' : 'o');
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
* -v (Validate header) option code
|
||||
|
||||
Reference in New Issue
Block a user