| 1018 | } |
| 1019 | |
| 1020 | void Uthernet1::InitializeIO(LPBYTE pCxRomPeripheral) |
| 1021 | { |
| 1022 | const std::string interfaceName = PCapBackend::GetRegistryInterface(m_slot); |
| 1023 | networkBackend = GetFrame().CreateNetworkBackend(interfaceName); |
| 1024 | if (!networkBackend->isValid()) |
| 1025 | { |
| 1026 | // Interface doesn't exist or user picked an interface that isn't Ethernet! |
| 1027 | GetFrame().FrameMessageBox("Uthernet interface isn't valid!\nReconfigure the Interface via 'Ethernet Settings'.", "Uthernet Interface", MB_ICONEXCLAMATION | MB_SETFOREGROUND); |
| 1028 | } |
| 1029 | |
| 1030 | RegisterIoHandler(m_slot, TfeIo, TfeIo, TfeIoCxxx, TfeIoCxxx, this, NULL); |
| 1031 | } |
| 1032 | |
| 1033 | void Uthernet1::Reset(const bool powerCycle) |
| 1034 | { |
nothing calls this directly
no test coverage detected