Fix a mistake found in vid_mga.c

This commit is contained in:
Jasmine Iwanek
2023-08-09 20:09:25 -04:00
parent 81bb5e564b
commit 8d3f5b7b27

View File

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