mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
remove GAMEBOY/PCENGINE conditionals (this is a Game Boy assembler)
This commit is contained in:
@@ -317,15 +317,11 @@ struct sLexInitString staticstrings[] = {
|
||||
{"endc", T_POP_ENDC},
|
||||
|
||||
{"bss", T_SECT_BSS},
|
||||
#if defined(GAMEBOY) || defined(PCENGINE)
|
||||
{"vram", T_SECT_VRAM},
|
||||
#endif
|
||||
{"code", T_SECT_CODE},
|
||||
{"data", T_SECT_CODE},
|
||||
#ifdef GAMEBOY
|
||||
{"home", T_SECT_HOME},
|
||||
{"hram", T_SECT_HRAM},
|
||||
#endif
|
||||
|
||||
{NAME_RB, T_POP_RB},
|
||||
{NAME_RW, T_POP_RW},
|
||||
|
||||
@@ -188,23 +188,12 @@ rpn_RangeCheck(struct Expression * expr, struct Expression * src, SLONG low,
|
||||
return (expr->nVal >= low && expr->nVal <= high);
|
||||
}
|
||||
}
|
||||
#ifdef GAMEBOY
|
||||
void
|
||||
rpn_CheckHRAM(struct Expression * expr, struct Expression * src)
|
||||
{
|
||||
*expr = *src;
|
||||
pushbyte(expr, RPN_HRAM);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef PCENGINE
|
||||
void
|
||||
rpn_CheckZP(struct Expression * expr, struct Expression * src)
|
||||
{
|
||||
*expr = *src;
|
||||
pushbyte(expr, RPN_PCEZP);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
rpn_LOGNOT(struct Expression * expr, struct Expression * src)
|
||||
|
||||
Reference in New Issue
Block a user