summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/rockmacros.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-20 20:59:07 +0000
committerDave Chapman <dave@dchapman.com>2006-01-20 20:59:07 +0000
commite8f8d9e7e93bd211a754b0722977f5ac72a4ba30 (patch)
treeb11cf1c83a487e98d7413f10265c745a5aa463f4 /apps/plugins/rockboy/rockmacros.h
parentb96ec65ac016f3f308049a7287b1beefd0d1b67e (diff)
downloadrockbox-e8f8d9e7e93bd211a754b0722977f5ac72a4ba30.tar.gz
rockbox-e8f8d9e7e93bd211a754b0722977f5ac72a4ba30.zip
Initial support for iPod color and video. The Nano has a 176x132 LCD, which is the first colour LCD smaller than the gameboy's 160x144 display - so it needs work to skip scanlines. Button handling still needs more work - only up/down/left/right/start are currently mapped. Code is removed from IRAM due to 'relocation truncated to fit: R_ARM_PC24' errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8400 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/rockmacros.h')
-rw-r--r--apps/plugins/rockboy/rockmacros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h
index 2d33b968ea..cefa0ad787 100644
--- a/apps/plugins/rockboy/rockmacros.h
+++ b/apps/plugins/rockboy/rockmacros.h
@@ -47,6 +47,11 @@ void loadstate(int fd);
47void savestate(int fd); 47void savestate(int fd);
48#define USER_MENU_QUIT -2 48#define USER_MENU_QUIT -2
49 49
50/* Disable ICODE for the ARMs */
51#ifdef CPU_ARM
52#undef ICODE_ATTR
53#define ICODE_ATTR
54#endif
50 55
51/* libc functions */ 56/* libc functions */
52#define isdigit(c) ((c) >= '0' && (c) <= '9') 57#define isdigit(c) ((c) >= '0' && (c) <= '9')