diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/mod.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/codecs/mod.c b/apps/codecs/mod.c index cbeaf0837f..3e2e4284de 100644 --- a/apps/codecs/mod.c +++ b/apps/codecs/mod.c | |||
@@ -250,7 +250,7 @@ void mixer_playsample(int channel, int instrument) | |||
250 | p_channel->channelactive = true; | 250 | p_channel->channelactive = true; |
251 | p_channel->samplepos = p_instrument->sampledataoffset; | 251 | p_channel->samplepos = p_instrument->sampledataoffset; |
252 | p_channel->samplefractpos = 0; | 252 | p_channel->samplefractpos = 0; |
253 | p_channel->loopsample = (p_instrument->repeatlength > 2) ? true : false; | 253 | p_channel->loopsample = (p_instrument->repeatlength > 2); |
254 | if (p_channel->loopsample) { | 254 | if (p_channel->loopsample) { |
255 | p_channel->loopstart = p_instrument->repeatoffset + | 255 | p_channel->loopstart = p_instrument->repeatoffset + |
256 | p_instrument->sampledataoffset; | 256 | p_instrument->sampledataoffset; |
@@ -807,8 +807,7 @@ void playline(int pattern, int line) | |||
807 | { | 807 | { |
808 | /* Set Filter */ | 808 | /* Set Filter */ |
809 | case 0x0: | 809 | case 0x0: |
810 | modplayer.amigafilterenabled = | 810 | modplayer.amigafilterenabled = (effecty == 0); |
811 | (effecty>0) ? false : true; | ||
812 | break; | 811 | break; |
813 | /* Fineslide up */ | 812 | /* Fineslide up */ |
814 | case 0x1: | 813 | case 0x1: |
@@ -834,8 +833,7 @@ void playline(int pattern, int line) | |||
834 | break; | 833 | break; |
835 | /* Set glissando on/off */ | 834 | /* Set glissando on/off */ |
836 | case 0x3: | 835 | case 0x3: |
837 | modplayer.glissandoenabled = | 836 | modplayer.glissandoenabled = (effecty > 0); |
838 | (effecty > 0) ? true:false; | ||
839 | break; | 837 | break; |
840 | /* Set Vibrato waveform */ | 838 | /* Set Vibrato waveform */ |
841 | case 0x4: | 839 | case 0x4: |