mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +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) {
|
if (!(ulOptions & OPTF_QUIET) && gbc_mode == 0xC0) {
|
||||||
printf("\tGame Boy Color only mode set\n");
|
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
|
* -v (Validate header) option code
|
||||||
|
|||||||
Reference in New Issue
Block a user