mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 03:05:36 +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:
1 parent
f927c41abb
commit
e12e7b2acc
1 file changed
-1
@@ -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