From 05042affc76ec42481bcddba4a3f94a7b77ec98d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 1 Oct 2005 10:20:55 +0000 Subject: Core: A graphics framework can now register a hook function to extend the core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/misc.h') diff --git a/apps/misc.h b/apps/misc.h index d637501c27..5af2568f7b 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -46,6 +46,7 @@ int read_line(int fd, char* buffer, int buffer_size); #ifdef HAVE_LCD_BITMAP /* Save a .BMP file containing the current screen contents. */ void screen_dump(void); +void screen_dump_set_hook(void (*hook)(int fh)); #endif bool settings_parseline(char* line, char** name, char** value); -- cgit v1.2.3