mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
WIP: add some tests cards
This commit is contained in:
@@ -314,3 +314,15 @@ void CardManager::SaveSnapshot(YamlSaveHelper& yamlSaveHelper)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CardManager::GetCardChoicesForSlot(UINT slot, char* choices)
|
||||
{
|
||||
strcpy(choices, "Card 1");
|
||||
choices += 7;
|
||||
strcpy(choices, "Card 2");
|
||||
choices += 7;
|
||||
strcpy(choices, "Card 3");
|
||||
choices += 7;
|
||||
|
||||
*choices = 0;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,7 @@ public:
|
||||
bool IsSSCInstalled(void) { return m_pSSC != NULL; }
|
||||
class ParallelPrinterCard* GetParallelPrinterCard(void) { return m_pParallelPrinterCard; }
|
||||
bool IsParallelPrinterCardInstalled(void) { return m_pParallelPrinterCard != NULL; }
|
||||
void GetCardChoicesForSlot(UINT slot, char* choices);
|
||||
|
||||
void InitializeIO(LPBYTE pCxRomPeripheral);
|
||||
void Destroy(void);
|
||||
|
||||
@@ -230,6 +230,16 @@ void CPageSound::InitOptions(HWND hWnd)
|
||||
else
|
||||
m_PropertySheetHelper.FillComboBox(hWnd, IDC_SLOT5, m_soundCardChoice_Unavailable, 0);
|
||||
|
||||
for (int slot = 0; slot < 8; slot++)
|
||||
{
|
||||
if (slot == 4 || slot == 5)
|
||||
continue;
|
||||
|
||||
char choices[100];
|
||||
GetCardMgr().GetCardChoicesForSlot(slot, &choices[0]);
|
||||
m_PropertySheetHelper.FillComboBox(hWnd, IDC_SLOT0+slot, choices, 0);
|
||||
}
|
||||
|
||||
#if 0
|
||||
bool enableMBVolume = slot4 == CT_MockingboardC || slot5 == CT_MockingboardC
|
||||
|| slot4 == CT_Phasor || slot5 == CT_Phasor
|
||||
|
||||
Reference in New Issue
Block a user