summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-04-01 05:17:20 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-04-01 05:17:20 +0000
commit8580674b10072b43531660652ff8103c6a980157 (patch)
tree111f6e9278413372812061c8c9f6bd3edf12d572 /apps/plugin.h
parentf047e3aee92a929cbfd6ff0faf12d82c3b468844 (diff)
Add initial support for changing the LCD mode in MPEG player for hardware YUV conversion (256 color palette mode will also be added for doom and rockboy). This fixes the LCD mode/colors when MPEGPlayer exits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20600 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 06d8abaaee..8954373d23 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -791,6 +791,10 @@ struct plugin_api {
const char *appsversion;
/* new stuff at the end, sort into place next time
the API gets incompatible */
+
+#if defined(HAVE_LCD_MODES)
+ void (*lcd_set_mode)(int mode);
+#endif
};
/* plugin header */