mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-05 09:39:58 +00:00
Merge pull request #8223 from JosJuice/titledatabase-unknown-language
TitleDatabase: Don't crash on unknown language
This commit is contained in:
commit
0ab7e2eed7
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user