Fixed the previous commit.

This commit is contained in:
OBattler
2020-10-18 01:20:26 +02:00
parent f2938551fa
commit 7a90fa8f75
4 changed files with 4 additions and 4 deletions

View File

@@ -3303,7 +3303,7 @@ static void *mach64_common_init(const device_t *info)
mach64_in, mach64_out,
NULL,
mach64_overlay_draw);
s3->svga.dac_hwcursor.ysize = 64;
mach64->svga.dac_hwcursor.ysize = 64;
if (info->flags & DEVICE_PCI)
mem_mapping_disable(&mach64->bios_rom.mapping);

View File

@@ -1297,7 +1297,7 @@ void *et4000w32p_init(const device_t *info)
et4000w32p_in, et4000w32p_out,
et4000w32p_hwcursor_draw,
NULL);
s3->svga.hwcursor.ysize = 64;
et4000->svga.hwcursor.ysize = 64;
et4000->svga.ramdac = device_add(&stg_ramdac_device);

View File

@@ -3668,7 +3668,7 @@ static void *s3_virge_init(const device_t *info)
s3_virge_in, s3_virge_out,
s3_virge_hwcursor_draw,
s3_virge_overlay_draw);
s3->svga.hwcursor.ysize = 64;
virge->svga.hwcursor.ysize = 64;
virge->pci = !!(info->flags & DEVICE_PCI);

View File

@@ -626,7 +626,7 @@ svga_poll(void *p)
}
if (svga->displine == svga->dac_hwcursor_latch.y && svga->dac_hwcursor_latch.ena) {
svga->dac_hwcursor_on = svga->dac_wcursor.ysize - svga->dac_hwcursor_latch.yoff;
svga->dac_hwcursor_on = svga->dac_hwcursor.ysize - svga->dac_hwcursor_latch.yoff;
svga->dac_hwcursor_oddeven = 0;
}