forked from len0rd/rockbox
More patches from Fredrik Öhrn - joystick2.diff (add support using buttons on the iriver remotes) and speedup.diff (more optimisations for Coldfire targets).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9089 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d00d58896b
commit
03627e0539
7 changed files with 214 additions and 81 deletions
|
|
@ -408,6 +408,9 @@ unsigned getDipSwitches(void) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#if defined (CPU_COLDFIRE)
|
||||
extern void drawChar( unsigned char * buffer, int index, int ox, int oy, int color );
|
||||
#else
|
||||
static inline void drawChar( unsigned char * buffer, int index, int ox, int oy, int color )
|
||||
{
|
||||
int x,y;
|
||||
|
|
@ -446,6 +449,7 @@ static inline void drawChar( unsigned char * buffer, int index, int ox, int oy,
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
inline void drawSprite( unsigned char * buffer, int index )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue