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:
Stenzek 2024-01-23 22:33:36 +10:00 committed by Connor McLaughlin
parent 5087fcea88
commit 5684bcb6f4
1 changed files with 3 additions and 3 deletions

View File

@ -117,10 +117,10 @@ void MemoryCardCreateDialog::createCard()
}
#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));
FileSystem::SetPathCompression(fullPath.c_str(), true);
const std::string fullPath = Path::Combine(EmuFolders::MemoryCards, name_str);
FileSystem::SetPathCompression(fullPath.c_str(), m_ui.ntfsCompression->isChecked());
}
#endif