This commit is contained in:
OBattler
2022-10-30 17:06:57 +01:00
parent a2e5c25333
commit 8fa09b318d

View File

@@ -375,6 +375,9 @@ ogc_poll(void *priv)
Composite_Process(ogc->cga.cgamode, border, x >> 2, buffer32->line[(ogc->cga.displine << 1)]); Composite_Process(ogc->cga.cgamode, border, x >> 2, buffer32->line[(ogc->cga.displine << 1)]);
Composite_Process(ogc->cga.cgamode, border, x >> 2, buffer32->line[(ogc->cga.displine << 1) + 1]); Composite_Process(ogc->cga.cgamode, border, x >> 2, buffer32->line[(ogc->cga.displine << 1) + 1]);
} else {
video_process_8(x, ogc->cga.displine << 1);
video_process_8(x, (ogc->cga.displine << 1) + 1);
} }
ogc->cga.sc = oldsc; ogc->cga.sc = oldsc;
@@ -478,19 +481,11 @@ ogc_poll(void *priv)
} }
/* ogc specific */ /* ogc specific */
if (enable_overscan) { if (enable_overscan) {
if (ogc->cga.composite) video_blit_memtoscreen(0, (ogc->cga.firstline - 8),
video_blit_memtoscreen(0, (ogc->cga.firstline - 8), xsize, (ogc->cga.lastline - ogc->cga.firstline) + 16);
xsize, (ogc->cga.lastline - ogc->cga.firstline) + 16);
else
video_blit_memtoscreen_8(0, (ogc->cga.firstline - 8),
xsize, (ogc->cga.lastline - ogc->cga.firstline) + 16);
} else { } else {
if (ogc->cga.composite) video_blit_memtoscreen(8, ogc->cga.firstline,
video_blit_memtoscreen(8, ogc->cga.firstline, xsize, (ogc->cga.lastline - ogc->cga.firstline));
xsize, (ogc->cga.lastline - ogc->cga.firstline));
else
video_blit_memtoscreen_8(8, ogc->cga.firstline,
xsize, (ogc->cga.lastline - ogc->cga.firstline));
} }
} }
frames++; frames++;