diff options
| author | JosJuice <josjuice@gmail.com> | 2020-04-04 23:18:15 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-04-24 15:10:35 +0200 |
| commit | dae2c14f7f215b2da570308a10f533d99fdb80af (patch) | |
| tree | d01552f3973462e2e966f242e737c445e1e692fd /Source/Core/UICommon/GameFile.cpp | |
| parent | 42f6913bccdafcb8a32e5d82bd54947062cfd0a9 (diff) | |
DolphinQt: Turn the compress/decompress action into a dialog
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index cc64d9d3e9..139dcce688 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -116,6 +116,7 @@ GameFile::GameFile(std::string path) : m_file_path(std::move(path)) m_blob_type = volume->GetBlobType(); m_file_size = volume->GetRawSize(); m_volume_size = volume->GetSize(); + m_volume_size_is_accurate = volume->IsSizeAccurate(); m_internal_name = volume->GetInternalName(); m_game_id = volume->GetGameID(); @@ -136,6 +137,7 @@ GameFile::GameFile(std::string path) : m_file_path(std::move(path)) { m_valid = true; m_file_size = m_volume_size = File::GetSize(m_file_path); + m_volume_size_is_accurate = true; m_platform = DiscIO::Platform::ELFOrDOL; m_blob_type = DiscIO::BlobType::DIRECTORY; } @@ -296,6 +298,7 @@ void GameFile::DoState(PointerWrap& p) p.Do(m_file_size); p.Do(m_volume_size); + p.Do(m_volume_size_is_accurate); p.Do(m_short_names); p.Do(m_long_names); |
