diff options
author | Scott Thomas | 2011-04-08 00:17:59 +0930 |
---|---|---|
committer | Scott Thomas | 2011-04-08 00:17:59 +0930 |
commit | d5ff4781004d1f9b2eebea954933c4b39a4ce227 (patch) | |
tree | ae4763e5e4265b9cdd586354649fbcb23aa986ba /engines | |
parent | 7c39b844b8f635b8267ce50d22e74090e355ff0e (diff) | |
download | scummvm-rg350-d5ff4781004d1f9b2eebea954933c4b39a4ce227.tar.gz scummvm-rg350-d5ff4781004d1f9b2eebea954933c4b39a4ce227.tar.bz2 scummvm-rg350-d5ff4781004d1f9b2eebea954933c4b39a4ce227.zip |
GROOVIE: Fix brace formatting.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/groovie.cpp | 3 | ||||
-rw-r--r-- | engines/groovie/player.cpp | 6 | ||||
-rw-r--r-- | engines/groovie/vdx.cpp | 2 |
3 files changed, 3 insertions, 8 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp index ea9c0a9fb7..313a690aea 100644 --- a/engines/groovie/groovie.cpp +++ b/engines/groovie/groovie.cpp @@ -56,8 +56,7 @@ GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) : SearchMan.addSubDirectoryMatching(gameDataDir, "system"); _modeSpeed = kGroovieSpeedNormal; - if (ConfMan.hasKey("t7g_speed")) - { + if (ConfMan.hasKey("t7g_speed")) { Common::String speed = ConfMan.get("t7g_speed"); if (speed.equals("im_an_ios")) _modeSpeed = kGroovieSpeediOS; diff --git a/engines/groovie/player.cpp b/engines/groovie/player.cpp index 4b8ae0083f..92590d420c 100644 --- a/engines/groovie/player.cpp +++ b/engines/groovie/player.cpp @@ -50,11 +50,9 @@ bool VideoPlayer::load(Common::SeekableReadStream *file, uint16 flags) { } } -void VideoPlayer::setOverrideSpeed(bool isOverride) -{ +void VideoPlayer::setOverrideSpeed(bool isOverride) { _overrideSpeed = isOverride; - if (_fps != 0) - { + if (_fps != 0) { if (isOverride) _millisBetweenFrames = 1000 / 26; else diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp index 5569ae92ca..61e5e3f6d7 100644 --- a/engines/groovie/vdx.cpp +++ b/engines/groovie/vdx.cpp @@ -528,9 +528,7 @@ void VDXPlayer::decodeBlockDelta(uint32 offset, byte *colours, uint16 imageWidth void VDXPlayer::chunkSound(Common::ReadStream *in) { if (getOverrideSpeed()) - { setOverrideSpeed(false); - } if (!_audioStream) { _audioStream = Audio::makeQueuingAudioStream(22050, false); |