GameDB: Move the documentation file out of /bin

This commit is contained in:
Tyler Wilding 2020-12-16 17:05:00 -05:00 committed by refractionpcsx2
parent 57c7e56203
commit c90eec2814
3 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
# Usage
# ---------------------------------------------
# For comprehensive usage examples / explanations, see the following documentaiton
# https://github.com/PCSX2/pcsx2/blob/master/bin/GameIndex.md
# https://github.com/PCSX2/pcsx2/blob/master/docs/GameIndex.md
# ---------------------------------------------
# -- Game List

View File

@ -95,7 +95,7 @@ GameDatabaseSchema::GameEntry YamlGameDatabaseImpl::entryFromYaml(const std::str
gameEntry.name = node["name"].as<std::string>("");
gameEntry.region = node["region"].as<std::string>("");
gameEntry.compat = static_cast<GameDatabaseSchema::Compatibility>(node["compat"].as<int>(enum_cast(gameEntry.compat)));
// Safely grab round mode and clamp modes from the YAML, otherwise default t
// Safely grab round mode and clamp modes from the YAML, otherwise use defaults
if (YAML::Node roundModeNode = node["roundModes"])
{
gameEntry.eeRoundMode = static_cast<GameDatabaseSchema::RoundMode>(roundModeNode["eeRoundMode"].as<int>(enum_cast(gameEntry.eeRoundMode)));