Merge pull request #5131 from ligfx/discioswitchdefault

DiscIO: add empty UNKNOWN_REGION case (fixes warning)
This commit is contained in:
Matthew Parlane 2017-03-24 16:50:56 +13:00 committed by GitHub
commit c5cc781205
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ std::string GetSysMenuVersionString(u16 title_version)
case Region::NTSC_K: case Region::NTSC_K:
region_letter = "K"; region_letter = "K";
break; break;
case Region::UNKNOWN_REGION:
WARN_LOG(DISCIO, "Unknown Region for title: %u", title_version);
break;
} }
switch (title_version & ~0xf) switch (title_version & ~0xf)