Hercules Plus.

This commit is contained in:
OBattler
2022-10-30 17:00:02 +01:00
parent 454fdd2b83
commit 6ffd1b3611
2 changed files with 8 additions and 1 deletions

BIN
src/mem/COMPACT.EXE Normal file

Binary file not shown.

View File

@@ -509,6 +509,13 @@ herculesplus_poll(void *priv)
graphics_line(dev);
else
text_line(dev, ca);
if ((dev->ctrl & HERCULESPLUS_CTRL_GRAPH) && (dev->ctrl2 & HERCULESPLUS_CTRL2_GRAPH))
x = dev->crtc[1] << 4;
else
x = dev->crtc[1] * 9;
video_process_8(x, dev->displine);
}
dev->sc = oldsc;
if (dev->vc == dev->crtc[7] && !dev->sc)
@@ -583,7 +590,7 @@ herculesplus_poll(void *priv)
if (video_force_resize_get())
video_force_resize_set(0);
}
video_blit_memtoscreen_8(0, dev->firstline, xsize, dev->lastline - dev->firstline);
video_blit_memtoscreen(0, dev->firstline, xsize, dev->lastline - dev->firstline);
frames++;
if ((dev->ctrl & HERCULESPLUS_CTRL_GRAPH) && (dev->ctrl2 & HERCULESPLUS_CTRL2_GRAPH)) {
video_res_x = dev->crtc[1] * 16;