mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #12129 from AdmiralCurtiss/mod-asset-fix
VideoCommon/GraphicsModAsset: Error out if config key is not a string.
This commit is contained in:
commit
131dceff4a
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ bool GraphicsModAssetConfig::DeserializeFromConfig(const picojson::object& obj)
|
||||||
"Failed to load mod configuration file, specified asset '{}' has data "
|
"Failed to load mod configuration file, specified asset '{}' has data "
|
||||||
"with a value for key '{}' that is not a string",
|
"with a value for key '{}' that is not a string",
|
||||||
m_name, key);
|
m_name, key);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
m_map[key] = value.to_str();
|
m_map[key] = value.to_str();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue