summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-08-09 03:35:53 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-08-09 03:35:53 +0000
commit729ff6f5030eef4c27ed66192969b806ca8ad47f (patch)
tree8057710df700cd78c03937b0678771dfc4f53098
parent4cded9c7b96957afe596f6647c52b7e9d07c3b1b (diff)
downloadrockbox-729ff6f5030eef4c27ed66192969b806ca8ad47f.tar.gz
rockbox-729ff6f5030eef4c27ed66192969b806ca8ad47f.zip
Rockboy: Cleanup red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22215 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/rockboy/emu.c2
-rw-r--r--apps/plugins/rockboy/menu.c12
2 files changed, 8 insertions, 6 deletions
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 },