From 6e9e6a7571275f1942630e0383d3fdf912178c8d Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sun, 27 Feb 2011 23:42:37 +0000 Subject: RaaA: Add initial Pandora support More information: www.openpandora.org Possible things to implement: - Special button mappings - Battery monitoring - ALSA audio backend - Automate creation of "pnd" (=binary) file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs.c | 2 +- apps/main.c | 4 ++-- apps/settings_list.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/codecs.c b/apps/codecs.c index 86e36edcf0..c9f612b3f4 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -54,7 +54,7 @@ #define LOGF_ENABLE #include "logf.h" -#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) +#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) #define PREFIX(_x_) sim_ ## _x_ #else #define PREFIX(_x_) _x_ diff --git a/apps/main.c b/apps/main.c index bd04223f97..001f368f50 100644 --- a/apps/main.c +++ b/apps/main.c @@ -125,7 +125,7 @@ #define MAIN_NORETURN_ATTR #endif -#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) +#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) #include "sim_tasks.h" #include "system-sdl.h" #define HAVE_ARGV_MAIN @@ -351,7 +351,7 @@ static void init(void) show_logo(); button_init(); backlight_init(); -#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) +#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) sim_tasks_init(); #endif #if (CONFIG_PLATFORM & PLATFORM_ANDROID) diff --git a/apps/settings_list.c b/apps/settings_list.c index 154479b63b..2d73028968 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -217,7 +217,7 @@ static const char graphic_numeric[] = "graphic,numeric"; #define DEFAULT_FONTNAME "15-Adobe-Helvetica" #elif LCD_HEIGHT <= 400 #define DEFAULT_FONTNAME "16-Adobe-Helvetica" -#elif LCD_HEIGHT <= 480 && !(CONFIG_PLATFORM & PLATFORM_MAEMO) +#elif LCD_HEIGHT <= 480 && !(CONFIG_PLATFORM & (PLATFORM_MAEMO|PLATFORM_PANDORA)) #define DEFAULT_FONTNAME "27-Adobe-Helvetica" #else #define DEFAULT_FONTNAME "35-Adobe-Helvetica" -- cgit v1.2.3