VideoCommon/GraphicsModAsset: Error out if config key is not a string.

This commit is contained in:
iwubcode 2023-07-10 22:28:15 -05:00 committed by Admiral H. Curtiss
parent dbe6a5f7e4
commit 55fba7c0ed
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ bool GraphicsModAssetConfig::DeserializeFromConfig(const picojson::object& obj)
"Failed to load mod configuration file, specified asset '{}' has data "
"with a value for key '{}' that is not a string",
m_name, key);
return false;
}
m_map[key] = value.to_str();
}