mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
DiscIO: Make Korean GC checks in Enums.cpp less fragile
This commit is contained in:
parent
c028a84531
commit
c885fed9da
6 changed files with 60 additions and 26 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
@ -78,8 +79,10 @@ bool IsNTSC(Region region);
|
|||
Country TypicalCountryForRegion(Region region);
|
||||
// Avoid using this function if you can. Country codes aren't always reliable region indicators.
|
||||
Region CountryCodeToRegion(u8 country_code, Platform platform,
|
||||
Region expected_region = Region::Unknown);
|
||||
Country CountryCodeToCountry(u8 country_code, Platform platform, Region region = Region::Unknown);
|
||||
Region expected_region = Region::Unknown,
|
||||
std::optional<u16> revision = {});
|
||||
Country CountryCodeToCountry(u8 country_code, Platform platform, Region region = Region::Unknown,
|
||||
std::optional<u16> revision = {});
|
||||
|
||||
Region GetSysMenuRegion(u16 title_version);
|
||||
std::string GetSysMenuVersionString(u16 title_version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue