aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/fmtowns_pc98/towns_euphony.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_euphony.h')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_euphony.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_euphony.h b/audio/softsynth/fmtowns_pc98/towns_euphony.h
index 68c5041117..76aa153a37 100644
--- a/audio/softsynth/fmtowns_pc98/towns_euphony.h
+++ b/audio/softsynth/fmtowns_pc98/towns_euphony.h
@@ -181,14 +181,17 @@ private:
int8 *_partConfig_volume;
int8 *_partConfig_transpose;
- struct TimedEvent {
+ struct SavedEvent {
+ SavedEvent(int ev, int tp, int nt, int vl, int ln, SavedEvent *chain) : evt(ev), type(tp), note(nt), velo(vl), len(ln), next(chain) {}
uint8 evt;
uint8 type;
uint8 note;
uint8 velo;
uint16 len;
- } *_timedEvents;
- int _timedEventsCount;
+ SavedEvent *next;
+ };
+
+ SavedEvent *_savedEventsChain;
uint8 _defaultBarLength;
uint8 _barLength;