diff --git a/src/video/vid_tgui9440.c b/src/video/vid_tgui9440.c index dfce72e06..e067d7a4b 100644 --- a/src/video/vid_tgui9440.c +++ b/src/video/vid_tgui9440.c @@ -3005,7 +3005,7 @@ static void *tgui_init(const device_t *info) tgui->card = pci_add_card(PCI_ADD_VIDEO | PCI_ADD_STRICT, tgui_pci_read, tgui_pci_write, tgui); } - tgui->pci_regs[PCI_REG_COMMAND] = 7; + tgui->pci_regs[PCI_REG_COMMAND] = 7; if (tgui->has_bios) { tgui->pci_regs[0x30] = 0x00; @@ -3013,8 +3013,13 @@ static void *tgui_init(const device_t *info) tgui->pci_regs[0x33] = 0x00; } - if (tgui->type >= TGUI_9440) - svga->packed_chain4 = 1; + if (tgui->type >= TGUI_9440) + svga->packed_chain4 = 1; + + if (tgui->type >= TGUI_9660) { + tgui->i2c = i2c_gpio_init("ddc_tgui"); + tgui->ddc = ddc_init(i2c_gpio_get_bus(tgui->i2c)); + } return tgui; }