[Scummvm-git-logs] scummvm master -> 9fe231ec0d4d3c6e1b49d8dbbac2f74ba0b951c3

eriktorbjorn eriktorbjorn at telia.com
Tue Nov 9 08:06:00 UTC 2021


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:
9fe231ec0d KYRA: (LoK/Mac) Fix detection of Mac executable


Commit: 9fe231ec0d4d3c6e1b49d8dbbac2f74ba0b951c3
    https://github.com/scummvm/scummvm/commit/9fe231ec0d4d3c6e1b49d8dbbac2f74ba0b951c3
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-11-09T09:05:18+01:00

Commit Message:
KYRA: (LoK/Mac) Fix detection of Mac executable

Once an executable has been found, break out of both loops. (I had
renamed mine to use an UTF-8 trademark glyph, and it was found in the
first code page. Not in the second.)

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 01882af5e6..c98b39b1f8 100644
--- a/engines/kyra/sound/sound_mac_lok.cpp
+++ b/engines/kyra/sound/sound_mac_lok.cpp
@@ -76,6 +76,8 @@ bool SoundMacRes::init() {
 				break;
 			_kyraMacExe.clear();
 		}
+		if (!_kyraMacExe.empty())
+			break;
 	}
 
 	if (_kyraMacExe.empty()) {




More information about the Scummvm-git-logs mailing list