mirror of https://github.com/PCSX2/pcsx2.git
Config: Preserve memcard types instead of wiping to defaults (#7065)
This commit is contained in:
parent
435b5a2b27
commit
9394e3ec42
|
@ -1247,6 +1247,11 @@ void Pcsx2Config::CopyRuntimeConfig(Pcsx2Config& cfg)
|
||||||
CurrentGameArgs = std::move(cfg.CurrentGameArgs);
|
CurrentGameArgs = std::move(cfg.CurrentGameArgs);
|
||||||
CurrentAspectRatio = cfg.CurrentAspectRatio;
|
CurrentAspectRatio = cfg.CurrentAspectRatio;
|
||||||
LimiterMode = cfg.LimiterMode;
|
LimiterMode = cfg.LimiterMode;
|
||||||
|
|
||||||
|
for (u32 i = 0; i < sizeof(Mcd) / sizeof(Mcd[0]); i++)
|
||||||
|
{
|
||||||
|
Mcd[i].Type = cfg.Mcd[i].Type;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmuFolders::SetDefaults(SettingsInterface& si)
|
void EmuFolders::SetDefaults(SettingsInterface& si)
|
||||||
|
|
Loading…
Reference in New Issue