Skip to content

Commit c8dd999

Browse files
committed
GameDatabase: Remove redundant SetRymlCallbacks()
1 parent fef553f commit c8dd999

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/game_database.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,6 @@ bool GameDatabase::LoadGameDBYaml()
12101210
return false;
12111211
}
12121212

1213-
SetRymlCallbacks();
1214-
12151213
const ryml::Tree tree = ryml::parse_in_place(
12161214
to_csubstr(GAMEDB_YAML_FILENAME), c4::substr(reinterpret_cast<char*>(gamedb_data->data()), gamedb_data->size()));
12171215
const ryml::ConstNodeRef root = tree.rootref();
@@ -1546,8 +1544,6 @@ bool GameDatabase::LoadTrackHashes()
15461544
return false;
15471545
}
15481546

1549-
SetRymlCallbacks();
1550-
15511547
// TODO: Parse in-place, avoid string allocations.
15521548
const ryml::Tree tree = ryml::parse_in_arena(to_csubstr(DISCDB_YAML_FILENAME), to_csubstr(gamedb_data.value()));
15531549
const ryml::ConstNodeRef root = tree.rootref();

0 commit comments

Comments
 (0)