aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/groovie/groovie.cpp3
-rw-r--r--engines/groovie/player.cpp6
-rw-r--r--engines/groovie/vdx.cpp2
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);