mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
Piano: Initialize m_note_on[]
This was being read before initialization.
This commit is contained in:
parent
2573c33ffe
commit
b3b522bae2
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue