Revision 543f8e34

b/hw/vga-pci.c
103 103
            bios_total_size <<= 1;
104 104
        pci_register_bar(&d->dev, PCI_ROM_SLOT, bios_total_size,
105 105
                         PCI_BASE_ADDRESS_MEM_PREFETCH, vga_map);
106
     } else {
107
         if (dev->romfile == NULL)
108
             dev->romfile = qemu_strdup("vgabios-stdvga.bin");
106 109
     }
107

  
108
    vga_init_vbe(s);
109
     /* ROM BIOS */
110
     rom_add_vga(VGABIOS_FILENAME);
111 110
     return 0;
112 111
}
113 112

  

Also available in: Unified diff