aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/fmtowns_pc98/towns_midi.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_midi.h')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_midi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_midi.h b/audio/softsynth/fmtowns_pc98/towns_midi.h
index 115142911a..6ff8a99cda 100644
--- a/audio/softsynth/fmtowns_pc98/towns_midi.h
+++ b/audio/softsynth/fmtowns_pc98/towns_midi.h
@@ -61,6 +61,15 @@ private:
TownsMidiInputChannel **_channels;
TownsMidiOutputChannel **_out;
+ struct ChanState {
+ uint8 mulAmsFms;
+ uint8 tl;
+ uint8 attDec;
+ uint8 sus;
+ uint8 fgAlg;
+ uint8 unk;
+ } *_chanState;
+
Common::TimerManager::TimerProc _timerBproc;
void *_timerBpara;
@@ -70,6 +79,8 @@ private:
uint8 _curChan;
bool _open;
+
+ uint8 *_chanOutputLevel;
};
#endif