forked from len0rd/rockbox
Code cleaning - remove some unnecessary defined(SIMULATOR) checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1fc2d91a83
commit
f02cba8096
30 changed files with 59 additions and 63 deletions
|
@ -583,7 +583,7 @@ void I_InitGraphics(void)
|
|||
gray_show(true);
|
||||
#endif
|
||||
|
||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
||||
#ifdef CPU_COLDFIRE
|
||||
coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE);
|
||||
d_screens[0] = fastscreen;
|
||||
#else
|
||||
|
|
|
@ -44,7 +44,7 @@ typedef int fixed_t;
|
|||
|
||||
inline static int FixedMul( int a, int b )
|
||||
{
|
||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
||||
#if defined(CPU_COLDFIRE)
|
||||
// Code contributed by Thom Johansen
|
||||
register int result;
|
||||
asm (
|
||||
|
|
|
@ -526,7 +526,7 @@ byte *ds_source IBSS_ATTR;
|
|||
|
||||
void R_DrawSpan (void)
|
||||
{
|
||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
||||
#ifdef CPU_COLDFIRE
|
||||
// only slightly faster
|
||||
asm volatile (
|
||||
"tst %[count] \n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue