diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-25 19:37:01 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-25 19:37:01 +0000 |
commit | 6b85f18b64e3df6dd1fe665384374b731f1466f0 (patch) | |
tree | a206724e2b87a3981bd6ababcffe88b15466431b | |
parent | 0bdf53d9a18271a997f43f93afa44b2680a0ba1e (diff) | |
download | rockbox-6b85f18b64e3df6dd1fe665384374b731f1466f0.tar.gz rockbox-6b85f18b64e3df6dd1fe665384374b731f1466f0.zip |
pacbox_cf.S contains a h300-only function, AND a function for all CF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27889 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/pacbox/SOURCES | 9 | ||||
-rw-r--r-- | apps/plugins/pacbox/pacbox_cf.S | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/apps/plugins/pacbox/SOURCES b/apps/plugins/pacbox/SOURCES index c06288699f..b2fe0a5523 100644 --- a/apps/plugins/pacbox/SOURCES +++ b/apps/plugins/pacbox/SOURCES | |||
@@ -6,8 +6,11 @@ wsg3.c | |||
6 | 6 | ||
7 | #if defined(CPU_PP502x) && (LCD_WIDTH >= 288) && (LCD_HEIGHT >= 224) | 7 | #if defined(CPU_PP502x) && (LCD_WIDTH >= 288) && (LCD_HEIGHT >= 224) |
8 | pacbox_arm.S | 8 | pacbox_arm.S |
9 | #elif defined(CPU_COLDFIRE) | 9 | #elif (CONFIG_PLATFORM & PLATFORM_HOSTED) || !defined(IRIVER_H300_SERIES) |
10 | pacbox_cf.S | ||
11 | #else | ||
12 | pacbox_lcd.c | 10 | pacbox_lcd.c |
13 | #endif | 11 | #endif |
12 | |||
13 | #if defined(CPU_COLDFIRE) | ||
14 | /* contains cf-specific functions, AND pacbox_lcd.c replacement for h300 only */ | ||
15 | pacbox_cf.S | ||
16 | #endif | ||
diff --git a/apps/plugins/pacbox/pacbox_cf.S b/apps/plugins/pacbox/pacbox_cf.S index 8a5ff821f4..7a6111d16b 100644 --- a/apps/plugins/pacbox/pacbox_cf.S +++ b/apps/plugins/pacbox/pacbox_cf.S | |||
@@ -25,6 +25,8 @@ | |||
25 | .align 2 | 25 | .align 2 |
26 | 26 | ||
27 | 27 | ||
28 | #ifdef IRIVER_H300_SERIES | ||
29 | |||
28 | .global blit_display | 30 | .global blit_display |
29 | 31 | ||
30 | /* | 32 | /* |
@@ -136,6 +138,8 @@ bd_y_loop: | |||
136 | lea.l BD_SAVE(%sp), %sp | 138 | lea.l BD_SAVE(%sp), %sp |
137 | rts | 139 | rts |
138 | 140 | ||
141 | #endif /* IRIVER_H300_SERIES */ | ||
142 | |||
139 | 143 | ||
140 | /* See arcade.c for the C implementation of drawChar */ | 144 | /* See arcade.c for the C implementation of drawChar */ |
141 | /* Note! This version does not handle flipped screen mode. */ | 145 | /* Note! This version does not handle flipped screen mode. */ |