diff options
Diffstat (limited to 'frontend/plugin_lib.c')
-rw-r--r-- | frontend/plugin_lib.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 5cf1ff4..46c9cbd 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -131,6 +131,15 @@ void pl_fbdev_close(void) omap_enable_layer(0); } +void *pl_prepare_screenshot(int *w, int *h, int *bpp) +{ + *w = pl_fbdev_w; + *h = pl_fbdev_h; + *bpp = pl_fbdev_bpp; + + return pl_fbdev_buf; +} + static void update_input(void) { int actions[IN_BINDTYPE_COUNT] = { 0, }; |