diff 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
line wrap: on
line diff
--- a/render.h	Fri Mar 03 23:51:29 2017 -0800
+++ b/render.h	Sat Mar 04 11:50:14 2017 -0800
@@ -70,6 +70,7 @@
 #define RENDER_NOT_PLUGGED_IN -3
 
 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b);
+void render_save_screenshot(char *path);
 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);