diff options
-rw-r--r-- | scumm/player_mod.cpp | 2 | ||||
-rw-r--r-- | scumm/player_mod.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/player_mod.cpp b/scumm/player_mod.cpp index 7cf07b6d78..c5996828c5 100644 --- a/scumm/player_mod.cpp +++ b/scumm/player_mod.cpp @@ -77,7 +77,7 @@ void Player_MOD::clearUpdateProc() { _mixamt = 0; } -void Player_MOD::startChannel (int id, const char *data, int size, int rate, uint8 vol, int loopStart, int loopEnd, int8 pan) { +void Player_MOD::startChannel (int id, char *data, int size, int rate, uint8 vol, int loopStart, int loopEnd, int8 pan) { int i; if (id == 0) error("player_mod - attempted to start channel id 0"); diff --git a/scumm/player_mod.h b/scumm/player_mod.h index 4310d16f3e..f49ccefcbf 100644 --- a/scumm/player_mod.h +++ b/scumm/player_mod.h @@ -36,7 +36,7 @@ public: virtual ~Player_MOD(); virtual void setMasterVolume(int vol); - virtual void startChannel(int id, const char *data, int size, int rate, uint8 vol, int loopStart = 0, int loopEnd = 0, int8 pan = 0); + virtual void startChannel(int id, char *data, int size, int rate, uint8 vol, int loopStart = 0, int loopEnd = 0, int8 pan = 0); virtual void stopChannel(int id); virtual void setChannelVol(int id, uint8 vol); virtual void setChannelPan(int id, int8 pan); |