mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 03:02:06 +00:00
Rename OPT_SMALL to OPT_TINY
This way it is easier to identify the flag passed to the binary (-t). Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
@@ -158,7 +158,7 @@ obj_ReadRGB0Section(FILE * f)
|
||||
|
||||
/* does the user want the -s mode? */
|
||||
|
||||
if ((options & OPT_SMALL) && (pSection->Type == SECT_ROMX)) {
|
||||
if ((options & OPT_TINY) && (pSection->Type == SECT_ROMX)) {
|
||||
pSection->Type = SECT_ROM0;
|
||||
}
|
||||
if ((pSection->Type == SECT_ROMX) || (pSection->Type == SECT_ROM0)) {
|
||||
@@ -315,7 +315,7 @@ obj_ReadRGBSection(FILE * f, enum ObjectFileContents contents)
|
||||
|
||||
/* does the user want the -s mode? */
|
||||
|
||||
if ((options & OPT_SMALL) && (pSection->Type == SECT_ROMX)) {
|
||||
if ((options & OPT_TINY) && (pSection->Type == SECT_ROMX)) {
|
||||
pSection->Type = SECT_ROM0;
|
||||
}
|
||||
if ((pSection->Type == SECT_ROMX) || (pSection->Type == SECT_ROM0)) {
|
||||
|
||||
Reference in New Issue
Block a user