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
|
@ -95,7 +95,7 @@ NeAACDecHandle NEAACDECAPI NeAACDecOpen(void)
|
|||
uint8_t i;
|
||||
NeAACDecHandle hDecoder = NULL;
|
||||
|
||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
||||
#if defined(CPU_COLDFIRE)
|
||||
coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ typedef int32_t real_t;
|
|||
#define Q2_PRECISION (1 << Q2_BITS)
|
||||
#define Q2_CONST(A) (((A) >= 0) ? ((real_t)((A)*(Q2_PRECISION)+0.5)) : ((real_t)((A)*(Q2_PRECISION)-0.5)))
|
||||
|
||||
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
|
||||
#if defined(CPU_COLDFIRE)
|
||||
|
||||
static INLINE real_t MUL_F(real_t A, real_t B)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue