diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 05:17:20 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 05:17:20 +0000 |
commit | 8580674b10072b43531660652ff8103c6a980157 (patch) | |
tree | 111f6e9278413372812061c8c9f6bd3edf12d572 /apps/plugin.c | |
parent | f047e3aee92a929cbfd6ff0faf12d82c3b468844 (diff) | |
download | rockbox-8580674b10072b43531660652ff8103c6a980157.tar.gz rockbox-8580674b10072b43531660652ff8103c6a980157.zip |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index b909a55f46..2126641572 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -633,6 +633,10 @@ static const struct plugin_api rockbox_api = { | |||
633 | appsversion, | 633 | appsversion, |
634 | /* new stuff at the end, sort into place next time | 634 | /* new stuff at the end, sort into place next time |
635 | the API gets incompatible */ | 635 | the API gets incompatible */ |
636 | |||
637 | #if defined(HAVE_LCD_MODES) | ||
638 | lcd_set_mode, | ||
639 | #endif | ||
636 | }; | 640 | }; |
637 | 641 | ||
638 | int plugin_load(const char* plugin, const void* parameter) | 642 | int plugin_load(const char* plugin, const void* parameter) |