comparison render.h @ 340:58a085cfc6bd

Set window title based on ROM header name
author Mike Pavone <pavone@retrodev.com>
date Wed, 15 May 2013 23:32:21 -0700
parents 5c34a9c39394
children 13f994c88c34
comparison
equal deleted inserted replaced
339:80d934369fd5 340:58a085cfc6bd
1 #ifndef RENDER_SDL_H_ 1 #ifndef RENDER_SDL_H_
2 #define RENDER_SDL_H_ 2 #define RENDER_SDL_H_
3 3
4 #include "vdp.h" 4 #include "vdp.h"
5 void render_init(int width, int height); 5 void render_init(int width, int height, char * title);
6 void render_context(vdp_context * context); 6 void render_context(vdp_context * context);
7 void render_wait_quit(vdp_context * context); 7 void render_wait_quit(vdp_context * context);
8 int wait_render_frame(vdp_context * context, int frame_limit); 8 int wait_render_frame(vdp_context * context, int frame_limit);
9 9
10 #endif //RENDER_SDL_H_ 10 #endif //RENDER_SDL_H_