diff options
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/talk.c b/apps/talk.c index a1a33bb7c8..3e6bdb934a 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -214,15 +214,10 @@ static void load_voicefile(void) | |||
214 | 214 | ||
215 | for (i = 0; i < length; i++) | 215 | for (i = 0; i < length; i++) |
216 | { | 216 | { |
217 | temp = buf[i]; | 217 | temp = buf[i]; |
218 | buf[i] = ((temp >> 7) & 0x01) | 218 | temp = ((temp >> 4) & 0x0f) | ((temp & 0x0f) << 4); |
219 | | ((temp >> 5) & 0x02) | 219 | temp = ((temp >> 2) & 0x33) | ((temp & 0x33) << 2); |
220 | | ((temp >> 3) & 0x04) | 220 | buf[i] = ((temp >> 1) & 0x55) | ((temp & 0x55) << 1); |
221 | | ((temp >> 1) & 0x08) | ||
222 | | ((temp << 1) & 0x10) | ||
223 | | ((temp << 3) & 0x20) | ||
224 | | ((temp << 5) & 0x40) | ||
225 | | ((temp << 7) & 0x80); | ||
226 | } | 221 | } |
227 | cpu_boost(false); | 222 | cpu_boost(false); |
228 | 223 | ||