GROOVIE: Fix brace formatting.

This commit is contained in:
Scott Thomas 2011-04-08 00:17:59 +09:30
parent 7c39b844b8
commit d5ff478100
3 changed files with 3 additions and 8 deletions

View File

@ -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;

View File

@ -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

View File

@ -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);