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:
Michael Maltese 2017-03-21 23:42:12 -07:00
parent 6e2e48e9ea
commit 0767c3d94d
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:
region_letter = "K";
break;
case Region::UNKNOWN_REGION:
WARN_LOG(DISCIO, "Unknown Region for title: %u", title_version);
break;
}
switch (title_version & ~0xf)