summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-18 23:43:36 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-18 23:43:36 -0800
commit1d8d7aa859fff168fd00be6851cda907bf4211d9 (patch)
tree4487b964fa82101adbee00f23efc9e512fc52201 /render.h
parente282b6a5933a92459dafabca2e95f30de09914cc (diff)
Overscan is now configurable
Diffstat (limited to 'render.h')
-rw-r--r--render.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/render.h b/render.h
index 5d62a7f..33e3aa3 100644
--- a/render.h
+++ b/render.h
@@ -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);