And back.

This commit is contained in:
OBattler
2021-09-03 16:42:39 +02:00
parent b0ec4e1ece
commit b75d9a2001

View File

@@ -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;
}