mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-12 08:29:13 +00:00
Piano: Initialize m_note_on[]
This was being read before initialization.
This commit is contained in:
committed by
Andreas Kling
parent
2573c33ffe
commit
b3b522bae2
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user