Skip to content

Commit

Permalink
G100 is now correctly added as AGP device
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Jan 2, 2024
1 parent 318403b commit 64c930f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/vid_mga.c
Original file line number Diff line number Diff line change
Expand Up @@ -6396,7 +6396,7 @@ mystique_init(const device_t *info)
if (romfn == NULL)
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);
pci_add_card((info->flags & DEVICE_AGP) ? PCI_ADD_AGP : 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];
Expand Down

0 comments on commit 64c930f

Please sign in to comment.