summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFile.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2020-07-04 14:07:46 +0100
committerGitHub <noreply@github.com>2020-07-04 14:07:46 +0100
commitc5a38826172d3d37a29f7a275c0007400c2fde07 (patch)
tree1f6ea8e52094c981d31e62688e206f8f6d8239d9 /Source/Core/UICommon/GameFile.cpp
parent9c12a843f86d39bc64d9e9b5b670e67455487739 (diff)
parentfb922781e7c06c3d5e7617c0b6bc4244662cfda0 (diff)
Merge pull request #8929 from JosJuice/datel-covers
DiscIO: Fix downloading covers for non-GNHE5d Datel discs
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();