Mercurial > repos > blastem
diff render.h @ 1184:b1147418254a
Overscan is now configurable
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 18 Jan 2017 23:43:36 -0800 |
parents | 928a65750345 |
children | 6a4503fad67e |
line wrap: on
line diff
--- a/render.h Wed Jan 18 21:30:20 2017 -0800 +++ b/render.h Wed Jan 18 23:43:36 2017 -0800 @@ -57,10 +57,17 @@ #include "psg.h" #include "ym2612.h" +typedef enum { + VID_NTSC, + VID_PAL, + NUM_VID_STD +} vid_std; + uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); uint32_t *render_get_framebuffer(uint8_t which, int *pitch); void render_framebuffer_updated(uint8_t which, int width); void render_init(int width, int height, char * title, uint8_t fullscreen); +void render_set_video_standard(vid_std std); void render_update_caption(char *title); void render_wait_quit(vdp_context * context); void render_wait_psg(psg_context * context);