config PSP: set SLOT0 correctly when Apple2Type changes

This commit is contained in:
tomcw
2025-12-31 18:14:47 +00:00
parent 5038ad48b3
commit 23a977b163
4 changed files with 27 additions and 13 deletions
@@ -333,7 +333,10 @@ bool CPropertySheetHelper::CheckChangesForRestart(HWND hWnd)
void CPropertySheetHelper::ApplyNewConfig(const CConfigNeedingRestart& ConfigNew, const CConfigNeedingRestart& ConfigOld)
{
if (CONFIG_CHANGED_LOCAL(m_Apple2Type))
{
SaveComputerType(ConfigNew.m_Apple2Type);
SetApple2Type(ConfigNew.m_Apple2Type); // Needed by InitializeIO() so that SLOT0 LC matches Apple2Type
}
if (CONFIG_CHANGED_LOCAL(m_CpuType))
SaveCpuType(ConfigNew.m_CpuType);