mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
DolphinQt: Make scrubbing configurable in convert dialog
This commit is contained in:
@ -38,6 +38,7 @@
|
||||
#include "Core/TitleDatabase.h"
|
||||
|
||||
#include "DiscIO/Blob.h"
|
||||
#include "DiscIO/DiscExtractor.h"
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/WiiSaveBanner.h"
|
||||
@ -117,6 +118,8 @@ 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_internal_name = volume->GetInternalName();
|
||||
m_game_id = volume->GetGameID();
|
||||
@ -138,6 +141,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_is_datel_disc = false;
|
||||
m_platform = DiscIO::Platform::ELFOrDOL;
|
||||
m_blob_type = DiscIO::BlobType::DIRECTORY;
|
||||
}
|
||||
@ -299,6 +303,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_is_datel_disc);
|
||||
|
||||
p.Do(m_short_names);
|
||||
p.Do(m_long_names);
|
||||
|
Reference in New Issue
Block a user