mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Merge pull request #8223 from JosJuice/titledatabase-unknown-language
TitleDatabase: Don't crash on unknown language
This commit is contained in:
@ -73,6 +73,7 @@ TitleDatabase::TitleDatabase()
|
|||||||
AddLazyMap(DiscIO::Language::SimplifiedChinese, "zh_CN");
|
AddLazyMap(DiscIO::Language::SimplifiedChinese, "zh_CN");
|
||||||
AddLazyMap(DiscIO::Language::TraditionalChinese, "zh_TW");
|
AddLazyMap(DiscIO::Language::TraditionalChinese, "zh_TW");
|
||||||
AddLazyMap(DiscIO::Language::Korean, "ko");
|
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.
|
// Titles that aren't part of the Wii TDB, but common enough to justify having entries for them.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user