MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / CopyConfiguration

Method CopyConfiguration

pcsx2/Pcsx2Config.cpp:2107–2120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2105}
2106
2107void Pcsx2Config::CopyConfiguration(SettingsInterface* dest_si, SettingsInterface& src_si)
2108{
2109 FPControlRegisterBackup fpcr_backup(FPControlRegister::GetDefault());
2110
2111 Pcsx2Config temp;
2112 {
2113 SettingsLoadWrapper wrapper(src_si);
2114 temp.LoadSaveCore(wrapper);
2115 }
2116 {
2117 SettingsSaveWrapper wrapper(*dest_si);
2118 temp.LoadSaveCore(wrapper);
2119 }
2120}
2121
2122void Pcsx2Config::ClearConfiguration(SettingsInterface* dest_si)
2123{

Callers

nothing calls this directly

Calls 1

LoadSaveCoreMethod · 0.80

Tested by

no test coverage detected