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
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue