summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFile.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-07-04 14:51:13 +0200
committerJosJuice <josjuice@gmail.com>2020-07-04 14:51:13 +0200
commitf24566bf39211671cd05fd8b88532b75d8b38e83 (patch)
tree9c5e650dc20108ccbe84476fa7bcacef57b509a2 /Source/Core/UICommon/GameFile.cpp
parentf9aaf8b9715470f0fd9182164fc6bd3c0443453b (diff)
DiscIO: Add Volume::IsDatelDisc
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
-rw-r--r--Source/Core/UICommon/GameFile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp
index 31a3fa4d26..25892bca67 100644
--- a/Source/Core/UICommon/GameFile.cpp
+++ b/Source/Core/UICommon/GameFile.cpp
@@ -120,8 +120,7 @@ GameFile::GameFile(std::string path) : m_file_path(std::move(path))
m_file_size = volume->GetRawSize();
m_volume_size = volume->GetSize();
m_volume_size_is_accurate = volume->IsSizeAccurate();
- m_is_datel_disc = DiscIO::IsDisc(m_platform) &&
- !DiscIO::GetBootDOLOffset(*volume, volume->GetGamePartition());
+ m_is_datel_disc = volume->IsDatelDisc();
m_internal_name = volume->GetInternalName();
m_game_id = volume->GetGameID();