diff options
| author | JosJuice <josjuice@gmail.com> | 2016-12-23 21:53:36 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-01-02 20:57:48 +0100 |
| commit | f85266df20bf81777a422dcd71d725f8cf712cd9 (patch) | |
| tree | 1361da6c799bba35371657dd86005b806f0265de /Source/Core/DiscIO/Enums.cpp | |
| parent | 66ea9f5cc18ca6beb87ddd7f7a291d96669ad653 (diff) | |
SConfig: Replace bNTSC with m_region
This lets us get rid of VideoInterface::SetRegionReg,
a huge hack in CEXIMemoryCard, and some minor things.
Diffstat (limited to 'Source/Core/DiscIO/Enums.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Enums.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Enums.cpp b/Source/Core/DiscIO/Enums.cpp index 6689470f32..c107d68c2d 100644 --- a/Source/Core/DiscIO/Enums.cpp +++ b/Source/Core/DiscIO/Enums.cpp @@ -11,6 +11,11 @@ namespace DiscIO { +bool IsNTSC(Region region) +{ + return region == Region::NTSC_J || region == Region::NTSC_U || region == Region::NTSC_K; +} + // Increment CACHE_REVISION (ISOFile.cpp & GameFile.cpp) if the code below is modified Region RegionSwitchGC(u8 country_code) |
