summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-04-11 13:49:05 +0000
committerThom Johansen <thomj@rockbox.org>2006-04-11 13:49:05 +0000
commit8238b49c747afaf462ab5bdd45a37417eeae4dd9 (patch)
tree565d7ea84451eaa2eae3afbf6f9e481d95ff5d25 /firmware
parent6bd1f143facb6b832bd22a22020cfc6ae4540601 (diff)
downloadrockbox-8238b49c747afaf462ab5bdd45a37417eeae4dd9.tar.gz
rockbox-8238b49c747afaf462ab5bdd45a37417eeae4dd9.zip
New crossfeed complete with no volume reducing bugs. Feedback on all the
new options is appreciated. Thanks to Dan Everton for the settings/GUI code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 7eaefb1d77..8bdd821e60 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -516,6 +516,10 @@ void system_init(void)
"movclr.l %%acc2, %%d0\n\t"
"movclr.l %%acc3, %%d0\n\t"
: : : "d0");
+ /* Set EMAC unit to saturating and rounding fractional mode, since that's
+ what'll be the most useful for most things which the main thread
+ will do. */
+ coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE | EMAC_ROUND);
}
void system_reboot (void)