diff options
author | neonloop | 2021-08-12 16:24:52 +0000 |
---|---|---|
committer | neonloop | 2021-08-12 16:24:52 +0000 |
commit | b91949ebe7ccb6bed9b11d6229c4da8c20899c2c (patch) | |
tree | 23b0b19f5418b5ed1ef09864407ba87a01c31c9b /plat_sdl.c | |
parent | 490f17e9bf7940f0e09eac66ff3c5a8d536f3624 (diff) | |
download | picoarch-b91949ebe7ccb6bed9b11d6229c4da8c20899c2c.tar.gz picoarch-b91949ebe7ccb6bed9b11d6229c4da8c20899c2c.tar.bz2 picoarch-b91949ebe7ccb6bed9b11d6229c4da8c20899c2c.zip |
Adds screenshot function
Diffstat (limited to 'plat_sdl.c')
-rw-r--r-- | plat_sdl.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -58,6 +58,15 @@ static void *fb_flip(void) return screen->pixels; } +void *plat_prepare_screenshot(int *w, int *h, int *bpp) +{ + if (w) *w = SCREEN_WIDTH; + if (h) *h = SCREEN_HEIGHT; + if (bpp) *bpp = SCREEN_BPP; + + return g_menuscreen_ptr; +} + void plat_video_menu_enter(int is_rom_loaded) { } |