Skip to content

Commit

Permalink
correct vibrato direction for n163 channels
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Apr 22, 2015
1 parent 2872033 commit bea7f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ChannelsN163.cpp
Expand Up @@ -209,7 +209,7 @@ void CChannelHandlerN163::RefreshChannel()

int Channel = 7 - GetIndex(); // Channel #
int WaveSize = 256 - (m_iWaveLen >> 2);
int Frequency = LimitPeriod(GetPeriod() - ((GetVibrato() + GetFinePitch() + GetPitch()) << 4)) << 2;
int Frequency = LimitPeriod(GetPeriod() - ((-GetVibrato() + GetFinePitch() + GetPitch()) << 4)) << 2; // // //

// Compensate for shorter waves
// Frequency >>= 5 - int(log(double(m_iWaveLen)) / log(2.0));
Expand Down

0 comments on commit bea7f4e

Please sign in to comment.