MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / GetCardChoicesForAuxSlot

Method GetCardChoicesForAuxSlot

source/CardManager.cpp:484–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484void CardManager::GetCardChoicesForAuxSlot(std::vector<SS_CARDTYPE>& choicesList)
485{
486 // Availability & order of cards in drop-down menu:
487 const SS_CARDTYPE cards[] =
488 {
489 CT_Empty,
490 CT_80Col,
491 CT_Extended80Col,
492 CT_RamWorksIII
493 };
494
495 choicesList.clear();
496
497 choicesList.reserve(std::size(cards));
498 for (UINT i = 0; i < std::size(cards); i++)
499 {
500 const SS_CARDTYPE thisCard = cards[i];
501 choicesList.push_back(thisCard);
502 }
503}

Callers 1

InitOptionsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected