aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2006-09-17 10:08:16 +0000
committerChris Apers2006-09-17 10:08:16 +0000
commit8922513d9f1e0e6911613dc92b41ef9efb0a7326 (patch)
tree31af520678f0c83ec9887cbe8e43babe663929df /backends
parent0a87306b1c7fddc3ac99e8043da51f00097ccb2a (diff)
downloadscummvm-rg350-8922513d9f1e0e6911613dc92b41ef9efb0a7326.tar.gz
scummvm-rg350-8922513d9f1e0e6911613dc92b41ef9efb0a7326.tar.bz2
scummvm-rg350-8922513d9f1e0e6911613dc92b41ef9efb0a7326.zip
Fixed compilation
svn-id: r23913
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/zodiac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/zodiac.cpp b/backends/midi/zodiac.cpp
index 1aa65139b5..891d3c3de0 100644
--- a/backends/midi/zodiac.cpp
+++ b/backends/midi/zodiac.cpp
@@ -55,7 +55,7 @@ int MidiDriver_Zodiac::open() {
return MERR_DEVICE_NOT_AVAILABLE;
TwMidiGetMasterVolume(&_oldVol);
- TwMidiSetMasterVolume(twMidiMaxVolume);
+ TwMidiSetMasterVolume(twMidiMaxVolume); // TODO : set volume based on gVars
_isOpen = true;
return 0;
@@ -110,7 +110,7 @@ void MidiDriver_Zodiac::send(uint32 b) {
}
void MidiDriver_Zodiac::sysEx(const byte *msg, uint16 length) {
- TwMidiSysEx(_midiHandle, 0, msg, length);
+ TwMidiSysEx(_midiHandle, 0, (byte *)msg, length);
}
MidiDriver *MidiDriver_Zodiac_create() {