Mercurial > repos > blastem
comparison vdp.h @ 717:22dbdf50d33c
Small correction to VBLANK flag timing. Fixed some inconsistencies in interrupt timing calculation.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 19 May 2015 23:23:53 -0700 |
parents | 4cd8823f79e3 |
children | 8f5339961903 |
comparison
equal
deleted
inserted
replaced
716:b707a8ddc202 | 717:22dbdf50d33c |
---|---|
130 uint8_t cd; | 130 uint8_t cd; |
131 uint8_t flags; | 131 uint8_t flags; |
132 uint8_t regs[VDP_REGS]; | 132 uint8_t regs[VDP_REGS]; |
133 //cycle count in MCLKs | 133 //cycle count in MCLKs |
134 uint32_t cycles; | 134 uint32_t cycles; |
135 uint32_t pending_vint_start; | |
136 uint32_t pending_hint_start; | |
135 uint8_t *vdpmem; | 137 uint8_t *vdpmem; |
136 //stores 2-bit palette + 4-bit palette index + priority for current sprite line | 138 //stores 2-bit palette + 4-bit palette index + priority for current sprite line |
137 uint8_t *linebuf; | 139 uint8_t *linebuf; |
138 //stores 12-bit color + shadow/highlight bits | 140 //stores 12-bit color + shadow/highlight bits |
139 void *framebuf; | 141 void *framebuf; |