mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12:07 +00:00
Use only one pass
This commit is contained in:
@@ -62,9 +62,6 @@ int32_t charmap_Add(char *input, uint8_t output)
|
||||
charmap = &globalCharmap;
|
||||
}
|
||||
|
||||
if (nPass == 2)
|
||||
return charmap->count;
|
||||
|
||||
if (charmap->count > MAXCHARMAPS || strlen(input) > CHARMAPLENGTH)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user