[Scummvm-git-logs] scummvm master -> 9e01a7dd2127f969aa06f61de23c6c939f8d9af6
athrxx
noreply at scummvm.org
Wed Aug 17 17:04:07 UTC 2022
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:
9e01a7dd21 SCUMM: Use CP850 (or Windows-1252) in dialogs for some European languages
Commit: 9e01a7dd2127f969aa06f61de23c6c939f8d9af6
https://github.com/scummvm/scummvm/commit/9e01a7dd2127f969aa06f61de23c6c939f8d9af6
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-08-17T19:04:04+02:00
Commit Message:
SCUMM: Use CP850 (or Windows-1252) in dialogs for some European languages
Not 100% correct, since LEC used an incomplete, tweaked and variable
internal code page that's just based on CP850, but it should still be
an improvement.
Changed paths:
engines/scumm/string.cpp
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index ee7f682c741..e2fb49591be 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -2018,6 +2018,13 @@ Common::CodePage ScummEngine::getDialogCodePage() const {
default:
return Common::kWindows1255;
}
+ case Common::DE_DEU:
+ case Common::ES_ESP:
+ case Common::FR_FRA:
+ case Common::IT_ITA:
+ case Common::PT_BRA:
+ case Common::PT_PRT:
+ return (_game.version > 7) ? Common::kWindows1252 : Common::kDos850;
default:
return Common::kCodePageInvalid;
}
More information about the Scummvm-git-logs
mailing list