Mercurial > repos > blastem
comparison render.h @ 1202:a6ae693974e0
Allow toggling full screen mode at runtime. Allow resizing the window in windowed mode. Allow specifying the aspect ratio in the config file.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 26 Jan 2017 00:55:02 -0800 |
parents | 6a4503fad67e |
children | 9d6f155732ed |
comparison
equal
deleted
inserted
replaced
1201:aee2177a1630 | 1202:a6ae693974e0 |
---|---|
72 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); | 72 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); |
73 uint32_t *render_get_framebuffer(uint8_t which, int *pitch); | 73 uint32_t *render_get_framebuffer(uint8_t which, int *pitch); |
74 void render_framebuffer_updated(uint8_t which, int width); | 74 void render_framebuffer_updated(uint8_t which, int width); |
75 void render_init(int width, int height, char * title, uint8_t fullscreen); | 75 void render_init(int width, int height, char * title, uint8_t fullscreen); |
76 void render_set_video_standard(vid_std std); | 76 void render_set_video_standard(vid_std std); |
77 void render_toggle_fullscreen(); | |
77 void render_update_caption(char *title); | 78 void render_update_caption(char *title); |
78 void render_wait_quit(vdp_context * context); | 79 void render_wait_quit(vdp_context * context); |
79 void render_wait_psg(psg_context * context); | 80 void render_wait_psg(psg_context * context); |
80 void render_wait_ym(ym2612_context * context); | 81 void render_wait_ym(ym2612_context * context); |
81 void render_disable_ym(); | 82 void render_disable_ym(); |