diff options
-rw-r--r-- | apps/plugin.c | 1 | ||||
-rw-r--r-- | apps/plugin.h | 1 | ||||
-rw-r--r-- | apps/plugins/doom/rockdoom.c | 1 | ||||
-rw-r--r-- | apps/plugins/doom/rockmacros.h | 2 |
4 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index b18ccb0626..fdced30d17 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -414,7 +414,6 @@ static const struct plugin_api rockbox_api = { vsnprintf, memchr, - load_main_backdrop }; int plugin_load(const char* plugin, void* parameter) diff --git a/apps/plugin.h b/apps/plugin.h index f9cca6ffc3..4061346eba 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -483,7 +483,6 @@ struct plugin_api { int (*vsnprintf)(char *buf, int size, const char *fmt, va_list ap); void *(*memchr)(const void *s1, int c, size_t n); - bool (*load_main_backdrop)(char* filename); }; /* plugin header */ 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) rb->lcd_setfont(0); #ifdef FANCY_MENU + /* TO FIX: Don't use load_main_backdrop() - use lcd_set_backdrop() */ if(rb->load_main_backdrop(GAMEBASE"backdrop.bmp")) rb->lcd_set_foreground(LCD_RGBPACK(85,208,56)); 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); //#define SIMPLECHECKS #define NO_PREDEFINED_LUMPS #define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer -#define FANCY_MENU // This is a call to allow load_main_backdrop to run in doom +//#define FANCY_MENU // This is a call to allow load_main_backdrop to run in doom #endif |