aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/player_v2.h')
-rw-r--r--scumm/player_v2.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/scumm/player_v2.h b/scumm/player_v2.h
index 55af6970c2..0490845f92 100644
--- a/scumm/player_v2.h
+++ b/scumm/player_v2.h
@@ -67,11 +67,9 @@ struct channel_data {
#endif
-union ChannelInfo {
- channel_data d;
- uint16 array[sizeof(channel_data)/2];
-};
-
+/**
+ * V2 PC-Speaker MIDI driver.
+ */
class Player_V2 : public MusicEngine {
public:
Player_V2(ScummEngine *scumm);
@@ -112,6 +110,11 @@ protected:
byte *_retaddr;
private:
+ union ChannelInfo {
+ channel_data d;
+ uint16 array[sizeof(channel_data)/2];
+ };
+
int _music_timer;
int _music_timer_ctr;
int _ticks_per_music_timer;