summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-10-01 10:20:55 +0000
committerJens Arnold <amiconn@rockbox.org>2005-10-01 10:20:55 +0000
commit05042affc76ec42481bcddba4a3f94a7b77ec98d (patch)
treefc1f73129fbe09b3e2022828c717ba7eb9507603 /apps/misc.h
parentf0fe3c94772ddf971810e5082dcfb9b0ac462ae4 (diff)
downloadrockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.tar.gz
rockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.zip
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
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h1
1 files changed, 1 insertions, 0 deletions
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);
46#ifdef HAVE_LCD_BITMAP 46#ifdef HAVE_LCD_BITMAP
47/* Save a .BMP file containing the current screen contents. */ 47/* Save a .BMP file containing the current screen contents. */
48void screen_dump(void); 48void screen_dump(void);
49void screen_dump_set_hook(void (*hook)(int fh));
49#endif 50#endif
50 51
51bool settings_parseline(char* line, char** name, char** value); 52bool settings_parseline(char* line, char** name, char** value);