diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-25 19:14:02 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-25 19:14:02 +0000 |
commit | 5615881955046b1642d6ee18dda0f199c78cfc04 (patch) | |
tree | b194b9ae172e7da4ea1b5777a2058925e41db9c8 /apps/plugins/pacbox | |
parent | 7014faee69119b832451a136c25e63722100b85e (diff) | |
download | rockbox-5615881955046b1642d6ee18dda0f199c78cfc04.tar.gz rockbox-5615881955046b1642d6ee18dda0f199c78cfc04.zip |
Remove a bunch of build conditions inside .c files
Fix logic in pacbox makefiles for asm optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27887 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r-- | apps/plugins/pacbox/SOURCES | 6 | ||||
-rw-r--r-- | apps/plugins/pacbox/pacbox_lcd.c | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/apps/plugins/pacbox/SOURCES b/apps/plugins/pacbox/SOURCES index 65a5cf1cb9..c06288699f 100644 --- a/apps/plugins/pacbox/SOURCES +++ b/apps/plugins/pacbox/SOURCES | |||
@@ -3,11 +3,11 @@ pacbox.c | |||
3 | hardware.c | 3 | hardware.c |
4 | z80.c | 4 | z80.c |
5 | wsg3.c | 5 | wsg3.c |
6 | |||
6 | #if defined(CPU_PP502x) && (LCD_WIDTH >= 288) && (LCD_HEIGHT >= 224) | 7 | #if defined(CPU_PP502x) && (LCD_WIDTH >= 288) && (LCD_HEIGHT >= 224) |
7 | pacbox_arm.S | 8 | pacbox_arm.S |
9 | #elif defined(CPU_COLDFIRE) | ||
10 | pacbox_cf.S | ||
8 | #else | 11 | #else |
9 | pacbox_lcd.c | 12 | pacbox_lcd.c |
10 | #endif | 13 | #endif |
11 | #if defined(CPU_COLDFIRE) | ||
12 | pacbox_cf.S | ||
13 | #endif | ||
diff --git a/apps/plugins/pacbox/pacbox_lcd.c b/apps/plugins/pacbox/pacbox_lcd.c index c4df2fa6cd..04bfe5f797 100644 --- a/apps/plugins/pacbox/pacbox_lcd.c +++ b/apps/plugins/pacbox/pacbox_lcd.c | |||
@@ -28,8 +28,6 @@ | |||
28 | #include "arcade.h" | 28 | #include "arcade.h" |
29 | #include "hardware.h" | 29 | #include "hardware.h" |
30 | 30 | ||
31 | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) || !defined(IRIVER_H300_SERIES) | ||
32 | |||
33 | void blit_display(fb_data* lcd_framebuffer, unsigned char* vbuf) | 31 | void blit_display(fb_data* lcd_framebuffer, unsigned char* vbuf) |
34 | { | 32 | { |
35 | fb_data* dst; | 33 | fb_data* dst; |
@@ -143,5 +141,3 @@ void blit_display(fb_data* lcd_framebuffer, unsigned char* vbuf) | |||
143 | #endif /* Size >= 144x112 */ | 141 | #endif /* Size >= 144x112 */ |
144 | #endif /* Not Colour */ | 142 | #endif /* Not Colour */ |
145 | } | 143 | } |
146 | |||
147 | #endif | ||