diff options
| author | Dave Chapman <dave@dchapman.com> | 2007-05-10 13:16:08 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2007-05-10 13:16:08 +0000 |
| commit | f02cba80967b7e42d03962625394bf5d1691a59c (patch) | |
| tree | ab752be0024ec544500eaf6fcba4207848c9a89e /apps/plugins/doom | |
| parent | 1fc2d91a83f6154c11a203c8da993d647799691a (diff) | |
| download | rockbox-f02cba80967b7e42d03962625394bf5d1691a59c.zip rockbox-f02cba80967b7e42d03962625394bf5d1691a59c.tar.gz rockbox-f02cba80967b7e42d03962625394bf5d1691a59c.tar.bz2 rockbox-f02cba80967b7e42d03962625394bf5d1691a59c.tar.xz | |
Code cleaning - remove some unnecessary defined(SIMULATOR) checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
| -rw-r--r-- | apps/plugins/doom/i_video.c | 2 | ||||
| -rw-r--r-- | apps/plugins/doom/m_fixed.h | 2 | ||||
| -rw-r--r-- | apps/plugins/doom/r_draw.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 2274854..c3ac30f 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -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 diff --git a/apps/plugins/doom/m_fixed.h b/apps/plugins/doom/m_fixed.h index e29933b..15fd986 100644 --- a/apps/plugins/doom/m_fixed.h +++ b/apps/plugins/doom/m_fixed.h @@ -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 ( diff --git a/apps/plugins/doom/r_draw.c b/apps/plugins/doom/r_draw.c index 5f45323..ee107f9 100644 --- a/apps/plugins/doom/r_draw.c +++ b/apps/plugins/doom/r_draw.c @@ -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" |