GUI: use an accumulator for wave synth preview

issue #2735
This commit is contained in:
tildearrow 2025-12-27 17:30:19 -05:00
parent 03bdabf7a6
commit 240d3c5718
3 changed files with 16 additions and 1 deletions

View file

@ -2470,6 +2470,7 @@ class FurnaceGUI {
DivWaveSynth wavePreview;
int wavePreviewLen, wavePreviewHeight;
bool wavePreviewInit, wavePreviewPaused;
float wavePreviewAccum;
// bit 31: ctrl
// bit 30: reserved for SDL scancode mask