mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 20:35:32 -07:00
Very small fix to pci_dummy.c.
This commit is contained in:
@@ -277,7 +277,7 @@ pci_dummy_init(int min_slot, int max_slot, int nb_slot, int sb_slot)
|
||||
|
||||
for (i = min_slot; i <= max_slot; i++) {
|
||||
if ((i != nb_slot) && (i != sb_slot)) {
|
||||
pci_register_slot(j, PCI_CARD_NORMAL, 1, 3, 2, 4);
|
||||
pci_register_slot(i, PCI_CARD_NORMAL, 1, 3, 2, 4);
|
||||
device_add_inst(&pci_dummy_device, j);
|
||||
j++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user