diff options
| author | flacs <tilkax@gmail.com> | 2015-09-29 03:46:29 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-09-29 03:46:29 +0200 |
| commit | aaa48e19fea02597c8057fbd2bf309890d64f27d (patch) | |
| tree | a111d53ca97d0703b93f84bb83c52ffd729d11b3 /Source/Core/DolphinWX/ISOFile.cpp | |
| parent | 4c1922ae5a1fbe47b358a6d68170f4fe3d00e96c (diff) | |
| parent | 21cb13828c768471d6553e10063eccbd61e704ed (diff) | |
Merge pull request #3097 from JosJuice/blob-type
Fix blob type detection for game right-click menu
Diffstat (limited to 'Source/Core/DolphinWX/ISOFile.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/ISOFile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp index 2f5b89681f..98679b0da2 100644 --- a/Source/Core/DolphinWX/ISOFile.cpp +++ b/Source/Core/DolphinWX/ISOFile.cpp @@ -36,7 +36,7 @@ #include "DolphinWX/ISOFile.h" #include "DolphinWX/WxUtils.h" -static const u32 CACHE_REVISION = 0x125; // Last changed in PR 2598 +static const u32 CACHE_REVISION = 0x126; // Last changed in PR 3097 #define DVD_BANNER_WIDTH 96 #define DVD_BANNER_HEIGHT 32 @@ -70,7 +70,6 @@ GameListItem::GameListItem(const std::string& _rFileName, const std::unordered_m , m_Country(DiscIO::IVolume::COUNTRY_UNKNOWN) , m_Revision(0) , m_Valid(false) - , m_BlobCompressed(false) , m_ImageWidth(0) , m_ImageHeight(0) , m_disc_number(0) @@ -107,11 +106,11 @@ GameListItem::GameListItem(const std::string& _rFileName, const std::unordered_m m_company = pVolume->GetCompany(); m_Country = pVolume->GetCountry(); + m_blob_type = pVolume->GetBlobType(); m_FileSize = pVolume->GetRawSize(); m_VolumeSize = pVolume->GetSize(); m_UniqueID = pVolume->GetUniqueID(); - m_BlobCompressed = pVolume->IsCompressed(); m_disc_number = pVolume->GetDiscNumber(); m_Revision = pVolume->GetRevision(); @@ -157,6 +156,7 @@ GameListItem::GameListItem(const std::string& _rFileName, const std::unordered_m m_Valid = true; m_FileSize = File::GetSize(_rFileName); m_Platform = DiscIO::IVolume::ELF_DOL; + m_blob_type = DiscIO::BlobType::DIRECTORY; } std::string path, name; @@ -209,7 +209,7 @@ void GameListItem::DoState(PointerWrap &p) p.Do(m_FileSize); p.Do(m_VolumeSize); p.Do(m_Country); - p.Do(m_BlobCompressed); + p.Do(m_blob_type); p.Do(m_pImage); p.Do(m_ImageWidth); p.Do(m_ImageHeight); |
