mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Don't assign PC to macro symbols
Macros have nothing to do with the current PC, so this doesn't make any sense. The value isn't ever used either.
This commit is contained in:
@@ -714,7 +714,6 @@ void sym_AddMacro(char *tzSym)
|
||||
struct sSymbol *nsym = createNonrelocSymbol(tzSym);
|
||||
|
||||
if (nsym) {
|
||||
nsym->nValue = nPC;
|
||||
nsym->nType |= SYMF_MACRO | SYMF_DEFINED;
|
||||
nsym->pScope = NULL;
|
||||
nsym->ulMacroSize = ulNewMacroSize;
|
||||
|
||||
Reference in New Issue
Block a user