mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
fixes crash when saving meta data - #79
This commit is contained in:
parent
a97a8a3090
commit
9ad911c18d
|
@ -139,8 +139,10 @@ boost::posix_time::ptime MetaDataList::getTime(const std::string& key) const
|
|||
|
||||
bool MetaDataList::isDefault()
|
||||
{
|
||||
const std::vector<MetaDataDecl>& mdd = getMDD();
|
||||
|
||||
for (int i = 1; i < mMap.size(); i++) {
|
||||
if (mMap.at(gameDecls[i].key) != gameDecls[i].defaultValue) return false;
|
||||
if (mMap.at(mdd[i].key) != mdd[i].defaultValue) return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue