diff options
author | Matthew Hoops | 2012-05-28 17:04:56 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-05-28 17:04:56 -0400 |
commit | f02b696573fe4281e4890d71b74671804a5ebf41 (patch) | |
tree | fe7826ad52bb429e39515641c88ed9e8a881dcce /engines | |
parent | e67ba769b35afcdeded56ad7c278206ed014476d (diff) | |
download | scummvm-rg350-f02b696573fe4281e4890d71b74671804a5ebf41.tar.gz scummvm-rg350-f02b696573fe4281e4890d71b74671804a5ebf41.tar.bz2 scummvm-rg350-f02b696573fe4281e4890d71b74671804a5ebf41.zip |
PEGASUS: Implement setting movie volume
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pegasus/movie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/pegasus/movie.cpp b/engines/pegasus/movie.cpp index f4aa9eecee..b7c025a89b 100644 --- a/engines/pegasus/movie.cpp +++ b/engines/pegasus/movie.cpp @@ -122,7 +122,8 @@ void Movie::moveMovieBoxTo(const CoordType h, const CoordType v) { } void Movie::setVolume(uint16 volume) { - // TODO + if (_video) + _video->setVolume(MIN<uint>(volume, 0xFF)); } void Movie::setTime(const TimeValue time, const TimeScale scale) { |