Fixed the reversed PCI card add types in video/vid_mga.c.
This commit is contained in:
@@ -5524,9 +5524,9 @@ mystique_init(const device_t *info)
|
||||
mem_mapping_disable(&mystique->iload_mapping);
|
||||
|
||||
if (romfn == NULL)
|
||||
pci_add_card(PCI_ADD_NORMAL, mystique_pci_read, mystique_pci_write, mystique, &mystique->pci_slot);
|
||||
else
|
||||
pci_add_card(PCI_ADD_VIDEO, mystique_pci_read, mystique_pci_write, mystique, &mystique->pci_slot);
|
||||
else
|
||||
pci_add_card(PCI_ADD_NORMAL, mystique_pci_read, mystique_pci_write, mystique, &mystique->pci_slot);
|
||||
mystique->pci_regs[0x06] = 0x80;
|
||||
mystique->pci_regs[0x07] = 0 << 1;
|
||||
mystique->pci_regs[0x2c] = mystique->bios_rom.rom[0x7ff8];
|
||||
|
Reference in New Issue
Block a user