diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-07-04 13:46:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-04 13:46:18 +0200 |
| commit | e0b94b55b87ce3e0698564a87773afa04459957b (patch) | |
| tree | cc4b6996ca6056f82836f70cc5cbc74fd9353af7 /Source/Core/DiscIO/Enums.cpp | |
| parent | aa1d750f30f94e2c80ecc3e8ad9cc865e2076b78 (diff) | |
| parent | a59edfe8cf4c3dd9275058ca1acd88019a3f6abf (diff) | |
Merge pull request #5651 from JosJuice/new-disc-extraction
Use new format for disc extraction
Diffstat (limited to 'Source/Core/DiscIO/Enums.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Enums.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Enums.cpp b/Source/Core/DiscIO/Enums.cpp index eae90b34ab..94af6c75a9 100644 --- a/Source/Core/DiscIO/Enums.cpp +++ b/Source/Core/DiscIO/Enums.cpp @@ -11,6 +11,16 @@ namespace DiscIO { +bool IsDisc(Platform volume_type) +{ + return volume_type == Platform::GAMECUBE_DISC || volume_type == Platform::WII_DISC; +} + +bool IsWii(Platform volume_type) +{ + return volume_type == Platform::WII_DISC || volume_type == Platform::WII_WAD; +} + bool IsNTSC(Region region) { return region == Region::NTSC_J || region == Region::NTSC_U || region == Region::NTSC_K; |
