mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Support Uthernet save-state (#984)
Uthernet card: support save/load state
This commit is contained in:
@@ -334,10 +334,7 @@ void CPropertySheetHelper::ApplyNewConfig(const CConfigNeedingRestart& ConfigNew
|
||||
SetSlot(slot, ConfigNew.m_Slot[slot]);
|
||||
|
||||
if (ConfigNew.m_Slot[slot] == CT_Uthernet) // TODO: move this to UthernetCard object
|
||||
{
|
||||
std::string& regSection = RegGetConfigSlotSection(slot);
|
||||
RegSaveString(regSection.c_str(), REGVALUE_UTHERNET_INTERFACE, 1, ConfigNew.m_tfeInterface);
|
||||
}
|
||||
tfe_SetRegistryInterface(slot, ConfigNew.m_tfeInterface);
|
||||
}
|
||||
|
||||
slot = SLOT4;
|
||||
|
||||
Reference in New Issue
Block a user