Config: Preserve memcard types instead of wiping to defaults (#7065)

This commit is contained in:
RedPanda4552 2022-09-18 07:38:34 -04:00 committed by GitHub
parent 435b5a2b27
commit 9394e3ec42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1247,6 +1247,11 @@ void Pcsx2Config::CopyRuntimeConfig(Pcsx2Config& cfg)
CurrentGameArgs = std::move(cfg.CurrentGameArgs);
CurrentAspectRatio = cfg.CurrentAspectRatio;
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)