summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-13 09:26:14 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-13 09:26:14 +0000
commit4ede925c8d9de7ceac89caeef74e2e916539430f (patch)
tree87f1c1af737a8f826efbee152a69e73260181e7d /firmware
parent8389b975bb4e1c5fda3b85c7c77d07da75f7f757 (diff)
mpeg_set_pitch() was backwards
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2289 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index ca3ac69692..1b9cd828c2 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1796,7 +1796,7 @@ void mpeg_set_pitch(int percent)
unsigned long val;
/* Calculate the new (bogus) frequency */
- val = 18432 + (18432*percent/100);
+ val = 18432 - (18432*percent/100);
mas_writemem(MAS_BANK_D0,0x7f3,&val,1);