mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
Piano: Initialize m_note_on[]
This was being read before initialization.
This commit is contained in:
parent
2573c33ffe
commit
b3b522bae2
Notes:
sideshowbarker
2024-07-19 10:40:58 +09:00
Author: https://github.com/willmcpherson2 Commit: https://github.com/SerenityOS/serenity/commit/b3b522bae2e Pull-request: https://github.com/SerenityOS/serenity/pull/915
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…
Reference in a new issue