mirror of https://github.com/PCSX2/pcsx2.git
Qt: Explicitly set memcard compression regardless of choice
Fixes compressed cards being created when the directory has the compressed flag set (probably from wx..).
This commit is contained in:
parent
5087fcea88
commit
5684bcb6f4
|
@ -117,10 +117,10 @@ void MemoryCardCreateDialog::createCard()
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (m_ui.ntfsCompression->isChecked() && m_type == MemoryCardType::File)
|
if (m_type == MemoryCardType::File)
|
||||||
{
|
{
|
||||||
const std::string fullPath(Path::Combine(EmuFolders::MemoryCards, name_str));
|
const std::string fullPath = Path::Combine(EmuFolders::MemoryCards, name_str);
|
||||||
FileSystem::SetPathCompression(fullPath.c_str(), true);
|
FileSystem::SetPathCompression(fullPath.c_str(), m_ui.ntfsCompression->isChecked());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue