summaryrefslogtreecommitdiffstats
path: root/apps/codecs/liba52/parse.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2005-09-07 00:24:27 +0000
committerThom Johansen <thomj@rockbox.org>2005-09-07 00:24:27 +0000
commit735208a541df024f1cd3b9624054b6ed9724ad1e (patch)
tree01b8b91e8f473207553e2c94a5f6f00a6f60f3b4 /apps/codecs/liba52/parse.c
parent4cd06c41f62c217681ec91557e89dc4461bab6d3 (diff)
downloadrockbox-735208a541df024f1cd3b9624054b6ed9724ad1e.tar.gz
rockbox-735208a541df024f1cd3b9624054b6ed9724ad1e.zip
Adapted codecs and DSP system to having MACSR saved in thread context.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/liba52/parse.c')
-rw-r--r--apps/codecs/liba52/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/liba52/parse.c b/apps/codecs/liba52/parse.c
index d5b323c701..9e7ed47d56 100644
--- a/apps/codecs/liba52/parse.c
+++ b/apps/codecs/liba52/parse.c
@@ -59,7 +59,7 @@ a52_state_t * a52_init (uint32_t mm_accel)
int i;
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
- asm volatile ("move.l #0x30, %macsr"); /* frac. mode with rounding */
+ coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_ROUND | EMAC_SATURATE);
#endif
/*
this needs to come back if we ever want two decoder instances