Revert "Prevents crashing for Big Mac"

This reverts commit 5787d49e9b.
This commit is contained in:
Maxim Poliakovski 2023-07-23 16:28:31 +02:00
parent 5787d49e9b
commit 14c7d18bdb
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ HeathrowIC::HeathrowIC() : PCIDevice("mac-io/heathrow"), InterruptCtrl()
this->floppy_dma->register_dma_int(this, 2);
// connect Ethernet HW
this->bmac = dynamic_cast<BigMac*>(gMachineObj->get_comp_by_name("BigMacHeathrow"));
this->bmac = dynamic_cast<BigMac*>(gMachineObj->get_comp_by_type(HWCompType::ETHER_MAC));
// set EMMO pin status (active low)
this->emmo_pin = GET_BIN_PROP("emmo") ^ 1;