mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-19 08:50:48 +00:00
Merge pull request #5516 from leoetlino/drop-last-filename
Drop m_LastFilename
This commit is contained in:
commit
bcc85f9f4d
4 changed files with 2 additions and 26 deletions
|
@ -224,8 +224,6 @@ bool BootCore(const std::string& filename, SConfig::EBootBS2 type)
|
|||
|
||||
StartUp.m_BootType = SConfig::BOOT_ISO;
|
||||
StartUp.m_strFilename = filename;
|
||||
StartUp.m_LastFilename = filename;
|
||||
StartUp.SaveSettings();
|
||||
StartUp.bRunCompareClient = false;
|
||||
StartUp.bRunCompareServer = false;
|
||||
|
||||
|
|
|
@ -109,7 +109,6 @@ void SConfig::SaveGeneralSettings(IniFile& ini)
|
|||
IniFile::Section* general = ini.GetOrCreateSection("General");
|
||||
|
||||
// General
|
||||
general->Set("LastFilename", m_LastFilename);
|
||||
general->Set("ShowLag", m_ShowLag);
|
||||
general->Set("ShowFrameCount", m_ShowFrameCount);
|
||||
|
||||
|
@ -418,7 +417,6 @@ void SConfig::LoadGeneralSettings(IniFile& ini)
|
|||
{
|
||||
IniFile::Section* general = ini.GetOrCreateSection("General");
|
||||
|
||||
general->Get("LastFilename", &m_LastFilename);
|
||||
general->Get("ShowLag", &m_ShowLag, false);
|
||||
general->Get("ShowFrameCount", &m_ShowFrameCount, false);
|
||||
#ifdef USE_GDBSTUB
|
||||
|
|
|
@ -58,9 +58,6 @@ struct SConfig : NonCopyable
|
|||
bool m_WiimoteContinuousScanning;
|
||||
bool m_WiimoteEnableSpeaker;
|
||||
|
||||
// name of the last used filename
|
||||
std::string m_LastFilename;
|
||||
|
||||
// ISO folder
|
||||
std::vector<std::string> m_ISOFolder;
|
||||
bool m_RecursiveISOFolder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue