Piano: Initialize m_note_on[]

This was being read before initialization.
This commit is contained in:
William McPherson 2019-12-26 01:37:21 +11:00 committed by Andreas Kling
parent 2573c33ffe
commit b3b522bae2
Notes: sideshowbarker 2024-07-19 10:40:58 +09:00

View file

@ -62,7 +62,7 @@ private:
#define note_count sizeof(note_frequency) / sizeof(double)
u8 m_note_on[note_count];
u8 m_note_on[note_count] { 0 };
double m_power[note_count];
double m_sin_pos[note_count];
double m_square_pos[note_count];