| 161 | //=========================================================================== |
| 162 | |
| 163 | void CMouseInterface::InitializeROM(void) |
| 164 | { |
| 165 | _ASSERT(m_pSlotRom == NULL); |
| 166 | if (m_pSlotRom) |
| 167 | return; |
| 168 | |
| 169 | const UINT FW_SIZE = 2*1024; |
| 170 | BYTE* pData = GetFrame().GetResource(IDR_MOUSEINTERFACE_FW, "FIRMWARE", FW_SIZE); |
| 171 | if(pData == NULL) |
| 172 | return; |
| 173 | |
| 174 | m_pSlotRom = new BYTE [FW_SIZE]; |
| 175 | memcpy(m_pSlotRom, pData, FW_SIZE); |
| 176 | } |
| 177 | |
| 178 | void CMouseInterface::InitializeIO(LPBYTE pCxRomPeripheral) |
| 179 | { |
nothing calls this directly
no test coverage detected