mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-03 00:29:48 +00:00
machinetnt: Chaos is optional.
It's not used for Power Mac 9500/9600.
This commit is contained in:
parent
3124b10eaa
commit
bf4ee72c0f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user