summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
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);