summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/mpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index f81f254a84..b61b5ee30b 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -794,7 +794,7 @@ void mpeg_prev(void)
794#endif 794#endif
795} 795}
796 796
797 797#ifndef SIMULATOR
798#ifndef ARCHOS_RECORDER 798#ifndef ARCHOS_RECORDER
799int current_volume=0; /* all values in tenth of dB */ 799int current_volume=0; /* all values in tenth of dB */
800int current_treble=0; 800int current_treble=0;
@@ -832,7 +832,8 @@ void set_prescaled_volume(void)
832 832
833 dac_volume(tenthdb2reg(l), tenthdb2reg(r), false); 833 dac_volume(tenthdb2reg(l), tenthdb2reg(r), false);
834} 834}
835#endif 835#endif /* ARCHOS_RECORDER */
836#endif /* SIMULATOR */
836 837
837void mpeg_sound_set(int setting, int value) 838void mpeg_sound_set(int setting, int value)
838{ 839{