mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-10 08:24:32 +00:00
GameDatabase: Remove redundant SetRymlCallbacks()
This commit is contained in:
@@ -1210,8 +1210,6 @@ bool GameDatabase::LoadGameDBYaml()
|
||||
return false;
|
||||
}
|
||||
|
||||
SetRymlCallbacks();
|
||||
|
||||
const ryml::Tree tree = ryml::parse_in_place(
|
||||
to_csubstr(GAMEDB_YAML_FILENAME), c4::substr(reinterpret_cast<char*>(gamedb_data->data()), gamedb_data->size()));
|
||||
const ryml::ConstNodeRef root = tree.rootref();
|
||||
@@ -1546,8 +1544,6 @@ bool GameDatabase::LoadTrackHashes()
|
||||
return false;
|
||||
}
|
||||
|
||||
SetRymlCallbacks();
|
||||
|
||||
// TODO: Parse in-place, avoid string allocations.
|
||||
const ryml::Tree tree = ryml::parse_in_arena(to_csubstr(DISCDB_YAML_FILENAME), to_csubstr(gamedb_data.value()));
|
||||
const ryml::ConstNodeRef root = tree.rootref();
|
||||
|
||||
Reference in New Issue
Block a user