mirror of https://github.com/PCSX2/pcsx2.git
MemoryCardFile: Don't compress file on opening
This commit is contained in:
parent
5684bcb6f4
commit
4f0d944bb9
|
@ -1146,11 +1146,6 @@ struct Pcsx2Config
|
|||
HostFs : 1,
|
||||
|
||||
WarnAboutUnsafeSettings : 1;
|
||||
|
||||
// uses automatic ntfs compression when creating new memory cards (Win32 only)
|
||||
#ifdef _WIN32
|
||||
bool McdCompressNTFS;
|
||||
#endif
|
||||
BITFIELD_END
|
||||
|
||||
CpuOptions Cpu;
|
||||
|
|
|
@ -1697,11 +1697,6 @@ Pcsx2Config::Pcsx2Config()
|
|||
InhibitScreensaver = true;
|
||||
BackupSavestate = true;
|
||||
SavestateZstdCompression = true;
|
||||
|
||||
#ifdef _WIN32
|
||||
McdCompressNTFS = true;
|
||||
#endif
|
||||
|
||||
WarnAboutUnsafeSettings = true;
|
||||
|
||||
// To be moved to FileMemoryCard pluign (someday)
|
||||
|
@ -1770,10 +1765,6 @@ void Pcsx2Config::LoadSaveCore(SettingsWrapper& wrap)
|
|||
EmulationSpeed.LoadSave(wrap);
|
||||
LoadSaveMemcards(wrap);
|
||||
|
||||
#ifdef _WIN32
|
||||
SettingsWrapEntry(McdCompressNTFS);
|
||||
#endif
|
||||
|
||||
if (wrap.IsLoading())
|
||||
{
|
||||
CurrentAspectRatio = GS.AspectRatio;
|
||||
|
|
|
@ -305,10 +305,6 @@ void FileMemoryCard::Open()
|
|||
// [TODO] : Add memcard size detection and report it to the console log.
|
||||
// (8MB, 256Mb, formatted, unformatted, etc ...)
|
||||
|
||||
#ifdef _WIN32
|
||||
FileSystem::SetPathCompression(fname.c_str(), EmuConfig.McdCompressNTFS);
|
||||
#endif
|
||||
|
||||
if (fname.ends_with(".bin"))
|
||||
{
|
||||
std::string newname(fname + "x");
|
||||
|
|
Loading…
Reference in New Issue