mirror of https://github.com/PCSX2/pcsx2.git
Config: Fix folder memory cards initial load
This commit is contained in:
parent
3fdc32d9d7
commit
d72c476483
|
@ -622,7 +622,12 @@ void Pcsx2Config::CopyConfig(const Pcsx2Config& cfg)
|
||||||
BaseFilenames = cfg.BaseFilenames;
|
BaseFilenames = cfg.BaseFilenames;
|
||||||
Framerate = cfg.Framerate;
|
Framerate = cfg.Framerate;
|
||||||
for (u32 i = 0; i < sizeof(Mcd) / sizeof(Mcd[0]); i++)
|
for (u32 i = 0; i < sizeof(Mcd) / sizeof(Mcd[0]); i++)
|
||||||
Mcd[i] = cfg.Mcd[i];
|
{
|
||||||
|
// Type will be File here, even if it's a folder, so we preserve the old value.
|
||||||
|
// When the memory card is re-opened, it should redetect anyway.
|
||||||
|
Mcd[i].Enabled = cfg.Mcd[i].Enabled;
|
||||||
|
Mcd[i].Filename = cfg.Mcd[i].Filename;
|
||||||
|
}
|
||||||
|
|
||||||
GzipIsoIndexTemplate = cfg.GzipIsoIndexTemplate;
|
GzipIsoIndexTemplate = cfg.GzipIsoIndexTemplate;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue