diff --git a/src/asm/output.c b/src/asm/output.c index 99044900..34c6766e 100644 --- a/src/asm/output.c +++ b/src/asm/output.c @@ -504,7 +504,7 @@ out_WriteObject(void) struct PatchSymbol *pSym; struct Section *pSect; - fwrite("RGB4", 1, 4, f); + fwrite("RGB5", 1, 4, f); fputlong(countsymbols(), f); fputlong(countsections(), f); diff --git a/src/link/object.c b/src/link/object.c index 1f6a2334..1e40eb83 100644 --- a/src/link/object.c +++ b/src/link/object.c @@ -336,8 +336,7 @@ obj_ReadOpenFile(FILE * pObjfile, char *tzObjectfile) tzHeader[4] = 0; if (strncmp(tzHeader, "RGB", 3) == 0) { switch (tzHeader[3]) { - case '3': - case '4': // V4 supports OAM sections, but is otherwise identical + case '5': obj_ReadRGB(pObjfile); break; default: