mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Add support for multiple charmaps
This adds two new directives: newcharmap and setcharmap. newcharmap creates a new charmap and switches to it. setcharmap switches to an existing charmap.
This commit is contained in:
@@ -321,7 +321,7 @@ static uint32_t addsymbol(struct sSymbol *pSym)
|
||||
struct PatchSymbol *pPSym, **ppPSym;
|
||||
uint32_t hash;
|
||||
|
||||
hash = calchash(pSym->tzName);
|
||||
hash = sym_CalcHash(pSym->tzName);
|
||||
ppPSym = &(tHashedPatchSymbols[hash]);
|
||||
|
||||
while ((*ppPSym) != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user