comparison 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
comparison
equal deleted inserted replaced
1183:8d8c71ebbbce 1184:b1147418254a
55 55
56 #include "vdp.h" 56 #include "vdp.h"
57 #include "psg.h" 57 #include "psg.h"
58 #include "ym2612.h" 58 #include "ym2612.h"
59 59
60 typedef enum {
61 VID_NTSC,
62 VID_PAL,
63 NUM_VID_STD
64 } vid_std;
65
60 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); 66 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b);
61 uint32_t *render_get_framebuffer(uint8_t which, int *pitch); 67 uint32_t *render_get_framebuffer(uint8_t which, int *pitch);
62 void render_framebuffer_updated(uint8_t which, int width); 68 void render_framebuffer_updated(uint8_t which, int width);
63 void render_init(int width, int height, char * title, uint8_t fullscreen); 69 void render_init(int width, int height, char * title, uint8_t fullscreen);
70 void render_set_video_standard(vid_std std);
64 void render_update_caption(char *title); 71 void render_update_caption(char *title);
65 void render_wait_quit(vdp_context * context); 72 void render_wait_quit(vdp_context * context);
66 void render_wait_psg(psg_context * context); 73 void render_wait_psg(psg_context * context);
67 void render_wait_ym(ym2612_context * context); 74 void render_wait_ym(ym2612_context * context);
68 void render_disable_ym(); 75 void render_disable_ym();