Added EEPROM saving to file.

This commit is contained in:
skidau 2015-01-24 12:09:35 +11:00
parent a7299a7fff
commit 8a561b57c3
4 changed files with 78 additions and 47 deletions

View file

@ -1023,7 +1023,7 @@ void CConfigMain::GCSettingsChanged(wxCommandEvent& event)
ChooseSlotPath(true, SConfig::GetInstance().m_EXIDevice[0]);
break;
case ID_GC_EXIDEVICE_SLOTB_PATH:
ChooseSlotPath(false, SConfig::GetInstance().m_EXIDevice[0]);
ChooseSlotPath(false, SConfig::GetInstance().m_EXIDevice[1]);
break;
}
}
@ -1063,10 +1063,6 @@ void CConfigMain::ChooseSlotPath(bool isSlotA, TEXIDevices device_type)
return;
}
}
else
{
return;
}
}
#ifdef _WIN32
if (!strncmp(File::GetExeDirectory().c_str(), filename.c_str(), File::GetExeDirectory().size()))