diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-10-12 09:39:52 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-10-12 09:39:52 -0700 |
commit | 4f1275708c60e7b582a3e5a02fac4ee0300a9999 (patch) | |
tree | 8050f1112d7ec1d04d50386cd4c373ab742afb11 /jag_video.h | |
parent | d8ac99946d19321cbe191747ac98bd481a6cdea6 (diff) |
Initial implementation of video output hardware
Diffstat (limited to 'jag_video.h')
-rw-r--r-- | jag_video.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jag_video.h b/jag_video.h index 4cef19e..95790ec 100644 --- a/jag_video.h +++ b/jag_video.h @@ -50,13 +50,14 @@ enum { #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; |