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

This commit is contained in:
iwubcode authored and Admiral H. Curtiss committed 2023-08-22 02:40:08 +02:00
1 parent dbe6a5f7e4
commit 55fba7c0ed
1 file changed
+1
@@ -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();
}