Fixed critical issue where a label/macro with more than 255 refs would vanish

This commit is contained in:
neauoire 2021-06-17 21:20:19 -07:00
parent 8d092bf1bc
commit 8d14b4bbc6
1 changed files with 3 additions and 3 deletions

View File

@ -19,13 +19,13 @@ typedef unsigned short Uint16;
typedef struct { typedef struct {
char name[64], items[128][64]; char name[64], items[128][64];
Uint8 len, refs; Uint8 len;
Uint16 refs;
} Macro; } Macro;
typedef struct { typedef struct {
char name[64]; char name[64];
Uint8 refs; Uint16 addr, refs;
Uint16 addr;
} Label; } Label;
typedef struct { typedef struct {