Save settings to file when booting a game.
Fixes issue 6310.
This commit is contained in:
parent
a51d6a6ddd
commit
026ab26755
|
@ -60,6 +60,7 @@ bool BootCore(const std::string& _rFilename)
|
||||||
StartUp.m_BootType = SCoreStartupParameter::BOOT_ISO;
|
StartUp.m_BootType = SCoreStartupParameter::BOOT_ISO;
|
||||||
StartUp.m_strFilename = _rFilename;
|
StartUp.m_strFilename = _rFilename;
|
||||||
SConfig::GetInstance().m_LastFilename = _rFilename;
|
SConfig::GetInstance().m_LastFilename = _rFilename;
|
||||||
|
SConfig::GetInstance().SaveSettings();
|
||||||
StartUp.bRunCompareClient = false;
|
StartUp.bRunCompareClient = false;
|
||||||
StartUp.bRunCompareServer = false;
|
StartUp.bRunCompareServer = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue