diff options
author | notaz | 2011-03-12 22:09:04 +0200 |
---|---|---|
committer | notaz | 2011-03-14 00:59:31 +0200 |
commit | 29a8c4f3e7fee7678e4b18de1748b9c4255dcef2 (patch) | |
tree | 933c42d696ae5f7ff3c6f0cf5c32aae71017d4c9 /frontend/plugin_lib.c | |
parent | 9411ba241f8f6ea0926a76c13a3329a95856b420 (diff) | |
download | pcsx_rearmed-29a8c4f3e7fee7678e4b18de1748b9c4255dcef2.tar.gz pcsx_rearmed-29a8c4f3e7fee7678e4b18de1748b9c4255dcef2.tar.bz2 pcsx_rearmed-29a8c4f3e7fee7678e4b18de1748b9c4255dcef2.zip |
frontend: add screenshot functionality
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, }; |