diff --git a/src/video/vid_mga.c b/src/video/vid_mga.c index 44a69d2fc..1bf877c09 100644 --- a/src/video/vid_mga.c +++ b/src/video/vid_mga.c @@ -5523,7 +5523,7 @@ mystique_init(const device_t *info) NULL, 0, mystique); mem_mapping_disable(&mystique->iload_mapping); - if (romfn = NULL) + 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);