Skip to content

Commit

Permalink
the real test release
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Dec 2, 2016
1 parent e9ace5b commit 34fea72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Source/Channels2A03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
//#define NOISE_PITCH_SCALE

CChannelHandler2A03::CChannelHandler2A03() :
CChannelHandler(0x7FF, 0x0F),
// // //
CChannelHandler(0x3FF, 0x0F), // // //
m_bManualVolume(0),
m_iInitVolume(0),
// // //
Expand Down
6 changes: 4 additions & 2 deletions Source/PatternEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,8 @@ void CPatternEditor::DrawCell(CDC *pDC, int PosX, int Column, int Channel, bool
static const char NOTES_C[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
// Hex numbers
static const char HEX[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
// // // Noise channel display
static const char NOISE[] = {'L', 'M', 'H', 'C'};

const bool m_bDisplayFlat = theApp.GetSettings()->General.bDisplayFlats;

Expand Down Expand Up @@ -1325,8 +1327,8 @@ void CPatternEditor::DrawCell(CDC *pDC, int PosX, int Column, int Channel, bool
default:
if (pTrackerChannel->GetID() == CHANID_NOISE) {
// Noise
char NoiseFreq = (pNoteData->Note - 1 + pNoteData->Octave * 12) & 0x0F;
DrawChar(pDC, PosX, PosY, HEX[NoiseFreq], pColorInfo->Note);
char NoiseFreq = (pNoteData->Note - 1 + pNoteData->Octave * 12) & 0x03; // // //
DrawChar(pDC, PosX, PosY, NOISE[NoiseFreq], pColorInfo->Note);
DrawChar(pDC, PosX + CHAR_WIDTH, PosY, '-', pColorInfo->Note);
DrawChar(pDC, PosX + CHAR_WIDTH * 2, PosY, '#', pColorInfo->Note);
}
Expand Down

0 comments on commit 34fea72

Please sign in to comment.