summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-03-28 16:04:11 +0000
committerDave Chapman <dave@dchapman.com>2006-03-28 16:04:11 +0000
commit39876971a84c91748d8e7102acae5a3de5949c9b (patch)
treea4dc18790383c613f8dd2c603d407759aa6c523f /apps/plugins
parent47f4a458d636a889e955e68f896708f1276febc0 (diff)
downloadrockbox-39876971a84c91748d8e7102acae5a3de5949c9b.tar.gz
rockbox-39876971a84c91748d8e7102acae5a3de5949c9b.zip
Do not export load_main_backdrop() via the plugin API. Plugins should allocate their own buffer and use lcd_set_backdrop()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9313 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/doom/rockdoom.c1
-rw-r--r--apps/plugins/doom/rockmacros.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index ae994c1acd..315adb34e0 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -642,6 +642,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
642 rb->lcd_setfont(0); 642 rb->lcd_setfont(0);
643 643
644#ifdef FANCY_MENU 644#ifdef FANCY_MENU
645 /* TO FIX: Don't use load_main_backdrop() - use lcd_set_backdrop() */
645 if(rb->load_main_backdrop(GAMEBASE"backdrop.bmp")) 646 if(rb->load_main_backdrop(GAMEBASE"backdrop.bmp"))
646 rb->lcd_set_foreground(LCD_RGBPACK(85,208,56)); 647 rb->lcd_set_foreground(LCD_RGBPACK(85,208,56));
647 648
diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h
index 6caeb2aa8a..e428331de8 100644
--- a/apps/plugins/doom/rockmacros.h
+++ b/apps/plugins/doom/rockmacros.h
@@ -89,5 +89,5 @@ inline void* memcpy(void* dst, const void* src, size_t size);
89//#define SIMPLECHECKS 89//#define SIMPLECHECKS
90#define NO_PREDEFINED_LUMPS 90#define NO_PREDEFINED_LUMPS
91#define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer 91#define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer
92#define FANCY_MENU // This is a call to allow load_main_backdrop to run in doom 92//#define FANCY_MENU // This is a call to allow load_main_backdrop to run in doom
93#endif 93#endif