mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix forgotten initialization of lexerState->isReferenced
This commit is contained in:
@@ -423,6 +423,7 @@ struct LexerState *lexer_OpenFile(char const *path)
|
||||
close(state->fd);
|
||||
|
||||
state->isMmapped = true;
|
||||
state->isReferenced = false; // By default, a state isn't referenced
|
||||
state->ptr = mappingAddr;
|
||||
state->size = fileInfo.st_size;
|
||||
state->offset = 0;
|
||||
|
||||
Reference in New Issue
Block a user