From e2dbe51860c001890f59813ac797a7a9829236d4 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 26 Aug 2025 21:02:08 +0200 Subject: [PATCH] Amstrad PC1512: Give video_process_8() a width of 656 if the actual width is smaller than 64, fixes #6065. --- src/machine/m_amstrad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/machine/m_amstrad.c b/src/machine/m_amstrad.c index 389185e60..b4bc0a54f 100644 --- a/src/machine/m_amstrad.c +++ b/src/machine/m_amstrad.c @@ -496,8 +496,8 @@ vid_poll_1512(void *priv) else x = (vid->crtc[1] << 4) + 16; - video_process_8(x, vid->displine << 1); - video_process_8(x, (vid->displine << 1) + 1); + video_process_8((x < 64) ? 656 : x, vid->displine << 1); + video_process_8((x < 64) ? 656 : x, (vid->displine << 1) + 1); vid->scanline = scanline_old; if (vid->vsynctime)