From 729ff6f5030eef4c27ed66192969b806ca8ad47f Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sun, 9 Aug 2009 03:35:53 +0000 Subject: Rockboy: Cleanup red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22215 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/emu.c | 2 ++ apps/plugins/rockboy/menu.c | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/rockboy/emu.c b/apps/plugins/rockboy/emu.c index 1e171cbae2..08c4dabf89 100644 --- a/apps/plugins/rockboy/emu.c +++ b/apps/plugins/rockboy/emu.c @@ -41,7 +41,9 @@ void emu_run(void) #ifdef HAVE_ADJUSTABLE_CPU_FREQ rb->cpu_boost(true); #endif +#ifdef HAVE_LCD_COLOR set_pal(); +#endif while(!shut) { diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c index cc12e8e67a..0978da0b09 100644 --- a/apps/plugins/rockboy/menu.c +++ b/apps/plugins/rockboy/menu.c @@ -333,12 +333,6 @@ static void do_opt_menu(void) { "On" , -1 }, }; - static const struct opt_items rotate[] = { - { "No rotation", -1 }, - { "Rotate Right" , -1 }, - { "Rotate Left" , -1 }, - }; - static const struct opt_items frameskip[]= { { "0 Max", -1 }, { "1 Max", -1 }, @@ -350,6 +344,12 @@ static void do_opt_menu(void) }; #ifdef HAVE_LCD_COLOR + static const struct opt_items rotate[] = { + { "No rotation", -1 }, + { "Rotate Right" , -1 }, + { "Rotate Left" , -1 }, + }; + static const struct opt_items scaling[]= { { "Scaled", -1 }, { "Scaled - Maintain Ratio", -1 }, -- cgit v1.2.3