Skip to content

Commit 34fea72

Browse files
committed
the real test release
1 parent e9ace5b commit 34fea72

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Source/Channels2A03.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
//#define NOISE_PITCH_SCALE
3333

3434
CChannelHandler2A03::CChannelHandler2A03() :
35-
CChannelHandler(0x7FF, 0x0F),
36-
// // //
35+
CChannelHandler(0x3FF, 0x0F), // // //
3736
m_bManualVolume(0),
3837
m_iInitVolume(0),
3938
// // //

Source/PatternEditor.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,8 @@ void CPatternEditor::DrawCell(CDC *pDC, int PosX, int Column, int Channel, bool
12481248
static const char NOTES_C[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
12491249
// Hex numbers
12501250
static const char HEX[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
1251+
// // // Noise channel display
1252+
static const char NOISE[] = {'L', 'M', 'H', 'C'};
12511253

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

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

0 commit comments

Comments
 (0)