[Scummvm-git-logs] scummvm master -> 099787539975536afae6532c4dac949bed7df507
athrxx
noreply at scummvm.org
Mon Apr 8 15:56:56 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0997875399 KYRA: (LOK/Mac) - minor audio code cleanup
Commit: 099787539975536afae6532c4dac949bed7df507
https://github.com/scummvm/scummvm/commit/099787539975536afae6532c4dac949bed7df507
Author: athrxx (athrxx at scummvm.org)
Date: 2024-04-08T17:56:43+02:00
Commit Message:
KYRA: (LOK/Mac) - minor audio code cleanup
Changed paths:
engines/kyra/sound/sound_mac_lok.cpp
diff --git a/engines/kyra/sound/sound_mac_lok.cpp b/engines/kyra/sound/sound_mac_lok.cpp
index 5826f7381bc..db5e088c214 100644
--- a/engines/kyra/sound/sound_mac_lok.cpp
+++ b/engines/kyra/sound/sound_mac_lok.cpp
@@ -68,14 +68,14 @@ bool SoundMacRes::init() {
return false;
// Test actual resource fork reading...
- Common::SeekableReadStream *test = getResource(2, 'SMOD');
+ Common::SeekableReadStream *test = getResource(2, MKTAG('S', 'M', 'O', 'D'));
if (!test) {
warning("SoundMacRes::init(): Resource fork read test failed for 'Legend of Kyrandia' executable");
return false;
}
delete test;
- test = getResource(202, 'SONG');
+ test = getResource(202, MKTAG('S', 'O', 'N', 'G'));
if (!test) {
warning("SoundMacRes::init(): Resource fork read test failed for 'HQ_Music.res'");
return false;
More information about the Scummvm-git-logs
mailing list