summaryrefslogtreecommitdiff
path: root/apps/dsp.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-05-10 13:16:08 +0000
committerDave Chapman <dave@dchapman.com>2007-05-10 13:16:08 +0000
commitf02cba80967b7e42d03962625394bf5d1691a59c (patch)
treeab752be0024ec544500eaf6fcba4207848c9a89e /apps/dsp.c
parent1fc2d91a83f6154c11a203c8da993d647799691a (diff)
downloadrockbox-f02cba80967b7e42d03962625394bf5d1691a59c.tar.gz
rockbox-f02cba80967b7e42d03962625394bf5d1691a59c.zip
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/dsp.c')
-rw-r--r--apps/dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dsp.c b/apps/dsp.c
index 609b2d6d0d..f05c6f14ce 100644
--- a/apps/dsp.c
+++ b/apps/dsp.c
@@ -1124,7 +1124,7 @@ int dsp_process(char *dst, const char *src[], int count)
1124 int written = 0; 1124 int written = 0;
1125 int samples; 1125 int samples;
1126 1126
1127#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) 1127#if defined(CPU_COLDFIRE)
1128 /* set emac unit for dsp processing, and save old macsr, we're running in 1128 /* set emac unit for dsp processing, and save old macsr, we're running in
1129 codec thread context at this point, so can't clobber it */ 1129 codec thread context at this point, so can't clobber it */
1130 unsigned long old_macsr = coldfire_get_macsr(); 1130 unsigned long old_macsr = coldfire_get_macsr();
@@ -1177,7 +1177,7 @@ int dsp_process(char *dst, const char *src[], int count)
1177 yield(); 1177 yield();
1178 } 1178 }
1179 1179
1180#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) 1180#if defined(CPU_COLDFIRE)
1181 /* set old macsr again */ 1181 /* set old macsr again */
1182 coldfire_set_macsr(old_macsr); 1182 coldfire_set_macsr(old_macsr);
1183#endif 1183#endif