From 8238b49c747afaf462ab5bdd45a37417eeae4dd9 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Tue, 11 Apr 2006 13:49:05 +0000 Subject: 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 --- firmware/system.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/system.c') 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) -- cgit v1.2.3