From b06a76dab4014a5ea1046eee6e4fdd819dbe7cbb Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 19 May 2015 23:23:53 -0700 Subject: Small correction to VBLANK flag timing. Fixed some inconsistencies in interrupt timing calculation. --- vdp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vdp.h') diff --git a/vdp.h b/vdp.h index 7950c38..a05501c 100644 --- a/vdp.h +++ b/vdp.h @@ -132,6 +132,8 @@ typedef struct { uint8_t regs[VDP_REGS]; //cycle count in MCLKs uint32_t cycles; + uint32_t pending_vint_start; + uint32_t pending_hint_start; uint8_t *vdpmem; //stores 2-bit palette + 4-bit palette index + priority for current sprite line uint8_t *linebuf; -- cgit v1.2.3