Prevent both U1 & U2 cards being inserted at same time

This commit is contained in:
tomcw
2025-11-23 16:11:41 +00:00
parent b3baaa957f
commit 2430679ffe
2 changed files with 8 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ int CPageSound::CardTypeToComboItem(UINT slot)
void CPageSound::InitOptions(HWND hWnd)
{
SS_CARDTYPE currConfig[NUM_SLOTS];
for (UINT i = SLOT0; i < NUM_SLOTS; i++)
for (int i = SLOT0; i < NUM_SLOTS; i++)
currConfig[i] = m_PropertySheetHelper.GetConfigNew().m_Slot[i];
if (IsApple2PlusOrClone(GetApple2Type()))