Skip to content

Commit

Permalink
machinetnt: Chaos is optional.
Browse files Browse the repository at this point in the history
It's not used for Power Mac 9500/9600.
  • Loading branch information
joevt authored and dingusdev committed Dec 8, 2024
1 parent 3124b10 commit bf4ee72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machines/machinetnt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int initialize_tnt(std::string& id)
DEV_FUN(0x10,0), gc_obj);

// get video PCI controller object
PCIHost *vci_host = dynamic_cast<PCIHost*>(gMachineObj->get_comp_by_name("Chaos"));
PCIHost *vci_host = dynamic_cast<PCIHost*>(gMachineObj->get_comp_by_name_optional("Chaos"));
if (vci_host) {
vci_host->set_irq_map(chaos_irq_map);
// connect built-in video device to the VCI bus
Expand Down

0 comments on commit bf4ee72

Please sign in to comment.