Mercurial > repos > blastem
comparison render.h @ 1263:5f65a16c23ff
Implement raw screenshot functionality requested in ticket:10
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 04 Mar 2017 11:50:14 -0800 |
parents | 9d6f155732ed |
children | 89eb967fed72 |
comparison
equal
deleted
inserted
replaced
1262:462d9770d467 | 1263:5f65a16c23ff |
---|---|
68 #define RENDER_INVALID_NAME -1 | 68 #define RENDER_INVALID_NAME -1 |
69 #define RENDER_NOT_MAPPED -2 | 69 #define RENDER_NOT_MAPPED -2 |
70 #define RENDER_NOT_PLUGGED_IN -3 | 70 #define RENDER_NOT_PLUGGED_IN -3 |
71 | 71 |
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 void render_save_screenshot(char *path); | |
73 uint32_t *render_get_framebuffer(uint8_t which, int *pitch); | 74 uint32_t *render_get_framebuffer(uint8_t which, int *pitch); |
74 void render_framebuffer_updated(uint8_t which, int width); | 75 void render_framebuffer_updated(uint8_t which, int width); |
75 void render_init(int width, int height, char * title, uint8_t fullscreen); | 76 void render_init(int width, int height, char * title, uint8_t fullscreen); |
76 void render_set_video_standard(vid_std std); | 77 void render_set_video_standard(vid_std std); |
77 void render_toggle_fullscreen(); | 78 void render_toggle_fullscreen(); |