mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
DiscIO: add empty UNKNOWN_REGION case (fixes warning)
Fixes warning: ``` dolphin/Source/Core/DiscIO/Enums.cpp:171:11: warning: enumeration value 'UNKNOWN_REGION' not handled in switch [-Wswitch] switch (GetSysMenuRegion(title_version)) ^ ```
This commit is contained in:
parent
6e2e48e9ea
commit
0767c3d94d
1 changed files with 3 additions and 0 deletions
|
@ -182,6 +182,9 @@ std::string GetSysMenuVersionString(u16 title_version)
|
|||
case Region::NTSC_K:
|
||||
region_letter = "K";
|
||||
break;
|
||||
case Region::UNKNOWN_REGION:
|
||||
WARN_LOG(DISCIO, "Unknown Region for title: %u", title_version);
|
||||
break;
|
||||
}
|
||||
|
||||
switch (title_version & ~0xf)
|
||||
|
|
Loading…
Add table
Reference in a new issue