mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Fix a typo bug in sdas_obj.cpp
This was introduced in commit 447c561, PR #1330
This commit is contained in:
@@ -370,7 +370,7 @@ void sdobj_ReadFile(FileStackNode const &where, FILE *file, std::vector<Symbol>
|
||||
getToken(nullptr, "'S' line is too short");
|
||||
|
||||
if (int32_t value = parseNumber(where, lineNo, &token[3], numberType);
|
||||
fileSections.empty()) {
|
||||
!fileSections.empty()) {
|
||||
// Symbols in sections are labels; their value is an offset
|
||||
Section *section = fileSections.back().section;
|
||||
if (section->isAddressFixed) {
|
||||
|
||||
Reference in New Issue
Block a user