Skip to content
Permalink
Browse files

Merge pull request #8223 from JosJuice/titledatabase-unknown-language

TitleDatabase: Don't crash on unknown language
  • Loading branch information...
stenzek committed Aug 9, 2019
2 parents a50b53c + f3b9d93 commit 0ab7e2eed78731db4b0b2c48f35f85d3a6722272
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Core/Core/TitleDatabase.cpp
@@ -73,6 +73,7 @@ TitleDatabase::TitleDatabase()
AddLazyMap(DiscIO::Language::SimplifiedChinese, "zh_CN");
AddLazyMap(DiscIO::Language::TraditionalChinese, "zh_TW");
AddLazyMap(DiscIO::Language::Korean, "ko");
m_title_maps[DiscIO::Language::Unknown] = [] { return Map(); };

// Titles that aren't part of the Wii TDB, but common enough to justify having entries for them.

0 comments on commit 0ab7e2e

Please sign in to comment.
You can’t perform that action at this time.