From 3462e563b8637c098d34ec41cb8aca72195ac675 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 10 Aug 2023 05:14:43 +0200 Subject: [PATCH] Fixed the reversed PCI card add types in video/vid_mga.c. --- src/video/vid_mga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/vid_mga.c b/src/video/vid_mga.c index 1bf877c09..bea27c164 100644 --- a/src/video/vid_mga.c +++ b/src/video/vid_mga.c @@ -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];