Skip to content

Commit

Permalink
memory map configs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
vrnmthr committed Nov 4, 2023
1 parent 10e78c0 commit ff97193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void loadItems(const std::string& fileName, std::vector<io::Item>& items) {

io::Item getItem(const void* current, const std::string& varName) {
std::vector<io::Item> items;
loadItems(current, items);
loadItems(current, items, /*mapped=*/true);

for(auto& item : items)
if(item.name == varName)
Expand Down

0 comments on commit ff97193

Please sign in to comment.