[Scummvm-git-logs] scummvm master -> f48e4a6321ed44770dfa4b9e39e69aa96d788a54
bluegr
noreply at scummvm.org
Sat Oct 4 08:05:26 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
f48e4a6321 FREESCAPE: Fix compilation with MSVC
Commit: f48e4a6321ed44770dfa4b9e39e69aa96d788a54
https://github.com/scummvm/scummvm/commit/f48e4a6321ed44770dfa4b9e39e69aa96d788a54
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-10-04T11:04:57+03:00
Commit Message:
FREESCAPE: Fix compilation with MSVC
Fix truncation of double to float
Changed paths:
engines/freescape/sound.cpp
diff --git a/engines/freescape/sound.cpp b/engines/freescape/sound.cpp
index b626933fff8..a5ffd8150a4 100644
--- a/engines/freescape/sound.cpp
+++ b/engines/freescape/sound.cpp
@@ -162,7 +162,7 @@ void FreescapeEngine::loadSpeakerFxZX(Common::SeekableReadStream *file, int sfxT
soundUnitZX soundUnit;
soundUnit.isRaw = true;
int totalSize = soundSize + sVar7;
- soundUnit.rawFreq = 0.1;
+ soundUnit.rawFreq = 0.1f;
soundUnit.rawLengthus = totalSize;
_soundsSpeakerFxZX[i]->push_back(soundUnit);
//debugN("%x ", silenceSize);
More information about the Scummvm-git-logs
mailing list