From 9247ae02af657ed8ae7f4bd1218670c40239e5a6 Mon Sep 17 00:00:00 2001 From: Ivan Izaguirre Date: Sun, 5 May 2019 12:51:30 +0200 Subject: [PATCH] Reset NTSC signal on each line --- apple2/screenNtscFilter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple2/screenNtscFilter.go b/apple2/screenNtscFilter.go index d61ff03..d4e56de 100644 --- a/apple2/screenNtscFilter.go +++ b/apple2/screenNtscFilter.go @@ -84,9 +84,9 @@ func filterNTSCColorMoving(blacker bool, in *image.RGBA) *image.RGBA { size := image.Rect(0, 0, b.Dx()+3, b.Dy()) out := image.NewRGBA(size) - // We store the last four bits. We start will 0000 - v := 0 for y := b.Min.Y; y < b.Max.Y; y++ { + // We store the last four bits. We start will 0000 + v := 0 for x := b.Min.X; x < b.Dx(); x++ { cIn := in.At(x, y) r, _, _, _ := cIn.RGBA()