Make writing patches not affect the expression

This also removes one int member from the struct that shouldn't be there
This commit is contained in:
ISSOtm
2020-02-23 22:27:33 +01:00
parent ef2bfe4ea0
commit cfe21876e5
4 changed files with 14 additions and 26 deletions

View File

@@ -19,7 +19,7 @@ extern char *tzObjectname;
extern struct Section *pSectionList, *pCurrentSection;
void out_SetFileName(char *s);
void out_CreatePatch(uint32_t type, struct Expression *expr);
void out_CreatePatch(uint32_t type, struct Expression const *expr);
void out_WriteObject(void);
#endif /* RGBDS_ASM_OUTPUT_H */