summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-05-19 23:23:53 -0700
committerMichael Pavone <pavone@retrodev.com>2015-05-19 23:23:53 -0700
commitb06a76dab4014a5ea1046eee6e4fdd819dbe7cbb (patch)
tree3967b196028b888d3c5a32109742b516ee0357db /vdp.h
parent9c11d06c90e3d1f8e1c7bfbd5478b5852fcae876 (diff)
Small correction to VBLANK flag timing. Fixed some inconsistencies in interrupt timing calculation.
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h2
1 files changed, 2 insertions, 0 deletions
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;