From 8d3f5b7b27653eb092a2e298533be7cee10f1abd Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Wed, 9 Aug 2023 20:09:25 -0400 Subject: [PATCH] Fix a mistake found in vid_mga.c --- src/video/vid_mga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);