mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
GROOVIE: Fix brace formatting.
This commit is contained in:
parent
7c39b844b8
commit
d5ff478100
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user