mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 12:50:51 +00:00
Fix crash in GameDescriptor::updateDesc
svn-id: r25153
This commit is contained in:
parent
fef501c205
commit
0a9276092f
@ -60,8 +60,8 @@ public:
|
||||
|
||||
Common::String &gameid() { return getVal("gameid"); }
|
||||
Common::String &description() { return getVal("description"); }
|
||||
Common::Language language() const { return Common::parseLanguage(getVal("language")); }
|
||||
Common::Platform platform() const { return Common::parsePlatform(getVal("platform")); }
|
||||
Common::Language language() const { return contains("language") ? Common::parseLanguage(getVal("language")) : Common::UNK_LANG; }
|
||||
Common::Platform platform() const { return contains("platform") ? Common::parsePlatform(getVal("platform")) : Common::kPlatformUnknown; }
|
||||
};
|
||||
|
||||
/** List of games. */
|
||||
|
Loading…
Reference in New Issue
Block a user