[Scummvm-git-logs] scummvm master -> 25f2afc7b5a39c3e50b67b60d5ef251013f16885

elasota noreply at scummvm.org
Tue May 30 01:45:53 UTC 2023


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:
25f2afc7b5 VCRUISE: Expand failure to load subtitles data warning


Commit: 25f2afc7b5a39c3e50b67b60d5ef251013f16885
    https://github.com/scummvm/scummvm/commit/25f2afc7b5a39c3e50b67b60d5ef251013f16885
Author: elasota (ejlasota at gmail.com)
Date: 2023-05-29T21:45:29-04:00

Commit Message:
VCRUISE: Expand failure to load subtitles data warning

Changed paths:
    engines/vcruise/runtime.cpp


diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index e0b2334a823..33dc8a10ad4 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -1381,6 +1381,9 @@ bool Runtime::bootGame(bool newGame) {
 
 		codePage = resolveCodePageForLanguage(lang);
 		subtitlesLoadedOK = loadSubtitles(codePage);
+
+		if (!subtitlesLoadedOK)
+			warning("Localization data failed to load!  Text and subtitles will be disabled.")
 	}
 
 	if (subtitlesLoadedOK)




More information about the Scummvm-git-logs mailing list