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/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 6748a19..35ed62a 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -355,6 +355,8 @@ static const struct plugin_api rockbox_api = { menu_draw, menu_insert, menu_set_cursor, + + screen_dump_set_hook, }; int plugin_load(const char* plugin, void* parameter) -- cgit v1.1