From 49bede17e123b3a1e5b128207c4f6e12a29f466d Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 15 May 2020 23:39:15 -0700 Subject: Fix regression in Mode 4 support caused by address/cd latch changes --- vdp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index f1d1065..5b9f163 100644 --- a/vdp.c +++ b/vdp.c @@ -3787,6 +3787,7 @@ int vdp_control_port_write(vdp_context * context, uint16_t value) //context->flags &= ~FLAG_READ_FETCHED; //context->flags2 &= ~FLAG2_READ_PENDING; } else { + clear_pending(context); context->flags &= ~FLAG_READ_FETCHED; context->flags2 &= ~FLAG2_READ_PENDING; } -- cgit v1.2.3