aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/sci_midi.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-22 08:55:54 +0000
committerFilippos Karapetis2009-10-22 08:55:54 +0000
commit8f0e47e671046707bd03c71772a6bde5e3e9b7d9 (patch)
treef22db2b4d2242092207cb9713befa6cfc06c4b27 /engines/sci/sfx/sci_midi.h
parenta1c23f4487b75d3646f8267d8925c1ae953a4a60 (diff)
downloadscummvm-rg350-8f0e47e671046707bd03c71772a6bde5e3e9b7d9.tar.gz
scummvm-rg350-8f0e47e671046707bd03c71772a6bde5e3e9b7d9.tar.bz2
scummvm-rg350-8f0e47e671046707bd03c71772a6bde5e3e9b7d9.zip
Fixed signed/unsigned issues with the property() function of the Adlib driver
svn-id: r45332
Diffstat (limited to 'engines/sci/sfx/sci_midi.h')
-rw-r--r--engines/sci/sfx/sci_midi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/sci_midi.h b/engines/sci/sfx/sci_midi.h
index 623dbd9f33..6fbece8dfd 100644
--- a/engines/sci/sfx/sci_midi.h
+++ b/engines/sci/sfx/sci_midi.h
@@ -86,7 +86,7 @@ public:
}
virtual int getVolume() {
- return _driver ? _driver->property(MIDI_PROP_MASTER_VOLUME, -1) : 0;
+ return _driver ? _driver->property(MIDI_PROP_MASTER_VOLUME, 0xffff) : 0;
}
virtual void playSwitch(bool play) {