summaryrefslogtreecommitdiff
path: root/apps/plugin.c
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.c
parentf047e3aee92a929cbfd6ff0faf12d82c3b468844 (diff)
downloadrockbox-8580674b10072b43531660652ff8103c6a980157.zip
rockbox-8580674b10072b43531660652ff8103c6a980157.tar.gz
rockbox-8580674b10072b43531660652ff8103c6a980157.tar.bz2
rockbox-8580674b10072b43531660652ff8103c6a980157.tar.xz
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.c')
-rw-r--r--apps/plugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index b909a55..2126641 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -633,6 +633,10 @@ static const struct plugin_api rockbox_api = {
appsversion,
/* new stuff at the end, sort into place next time
the API gets incompatible */
+
+#if defined(HAVE_LCD_MODES)
+ lcd_set_mode,
+#endif
};
int plugin_load(const char* plugin, const void* parameter)