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

Method LanguageCardUnit

source/LanguageCard.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69LanguageCardUnit::LanguageCardUnit(SS_CARDTYPE type, UINT slot) :
70 Card(type, slot),
71 m_uLastRamWrite(0),
72 m_memMode(kMemModeInitialState),
73 m_pMemory(NULL)
74{
75 if (type != CT_Saturn128K && m_slot != LanguageCardUnit::kSlot0)
76 ThrowErrorInvalidSlot();
77
78 if (m_slot == SLOT0)
79 SetMemMainLanguageCard(NULL, SLOT0, true);
80}
81
82LanguageCardUnit::~LanguageCardUnit(void)
83{

Callers

nothing calls this directly

Calls 1

SetMemMainLanguageCardFunction · 0.85

Tested by

no test coverage detected