Mercurial > repos > blastem
diff jag_video.h @ 1089:87597a048d38
Initial implementation of video output hardware
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 12 Oct 2016 09:39:52 -0700 |
parents | c0a026e974f4 |
children | a68274a25e2f |
line wrap: on
line diff
--- a/jag_video.h Sat Oct 08 23:49:20 2016 -0700 +++ b/jag_video.h Wed Oct 12 09:39:52 2016 -0700 @@ -50,13 +50,14 @@ #define LINEBUFFER_WORDS 720 typedef struct { - uint16_t regs[JAG_VIDEO_REGS]; + uint32_t *output; + uint32_t output_pitch; + uint16_t regs[JAG_VIDEO_REGS]; uint16_t clut[256]; uint16_t line_buffer_a[LINEBUFFER_WORDS]; uint16_t line_buffer_b[LINEBUFFER_WORDS]; uint16_t *write_line_buffer; - uint16_t *read_line_buffer; uint32_t cycles; uint8_t pclock_div;