mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 09:42:47 -05:00
Actually implement on-board ViRGE/DX for Infinia 7200 and TC430HX
This commit is contained in:
parent
1f3dec5708
commit
a0d853ff1f
1 changed files with 7 additions and 4 deletions
|
@ -4181,10 +4181,13 @@ s3_virge_init(const device_t *info)
|
||||||
s3_virge_overlay_draw);
|
s3_virge_overlay_draw);
|
||||||
virge->svga.hwcursor.cur_ysize = 64;
|
virge->svga.hwcursor.cur_ysize = 64;
|
||||||
|
|
||||||
if (info->local == S3_VIRGE_GX2)
|
if (bios_fn != NULL)
|
||||||
rom_init(&virge->bios_rom, (char *) bios_fn, 0xc0000, 0x10000, 0xffff, 0, MEM_MAPPING_EXTERNAL);
|
{
|
||||||
else
|
if (info->local == S3_VIRGE_GX2)
|
||||||
rom_init(&virge->bios_rom, (char *) bios_fn, 0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL);
|
rom_init(&virge->bios_rom, (char *) bios_fn, 0xc0000, 0x10000, 0xffff, 0, MEM_MAPPING_EXTERNAL);
|
||||||
|
else
|
||||||
|
rom_init(&virge->bios_rom, (char *) bios_fn, 0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL);
|
||||||
|
}
|
||||||
|
|
||||||
mem_mapping_disable(&virge->bios_rom.mapping);
|
mem_mapping_disable(&virge->bios_rom.mapping);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue