summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockboy/sys_rockbox.c
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-04 12:31:08 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-04 12:31:08 +0000
commit3e60b5a6d15b74a099ccd0a8ab4f2b7bd48c5e42 (patch)
tree66a5ed7bf30c0b8525c9db5e507f7a8be64000f6 /apps/plugins/rockboy/sys_rockbox.c
parentca2e99b4be0155abc90033ba2757f39d3ede9713 (diff)
downloadrockbox-3e60b5a6d15b74a099ccd0a8ab4f2b7bd48c5e42.tar.gz
rockbox-3e60b5a6d15b74a099ccd0a8ab4f2b7bd48c5e42.tar.bz2
rockbox-3e60b5a6d15b74a099ccd0a8ab4f2b7bd48c5e42.zip
Lcd mode selecting between top 16 and bottom 16 lines being dropped by
using the hold button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6133 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c
index 9f6b588b47..3773b67f02 100644
--- a/apps/plugins/rockboy/sys_rockbox.c
+++ b/apps/plugins/rockboy/sys_rockbox.c
@@ -119,13 +119,12 @@ void ev_poll(void)
}
if(pressed & ROCKBOY_MENU) {
#if CONFIG_KEYPAD == IRIVER_H100_PAD
- if (do_user_menu() == USER_MENU_QUIT) {
+ if (do_user_menu() == USER_MENU_QUIT)
#endif
+ {
die("");
cleanshut=1;
-#if CONFIG_KEYPAD == IRIVER_H100_PAD
}
-#endif
}
}
@@ -139,11 +138,11 @@ void vid_setpal(int i, int r, int g, int b)
(void)b;
}
-void vid_init(void)
+void vid_begin(void)
{
}
-void vid_begin(void)
+void vid_init(void)
{
fb.pelsize=1; // 8 bit framebuffer.. (too much.. but lowest gnuboy will support.. so yea...
fb.h=144;