[Scummvm-git-logs] scummvm master -> 1743a07e6ce44e73938adb399a96b66b1dcbbcb4
athrxx
noreply at scummvm.org
Sat Jul 11 23:03:28 UTC 2026
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:
1743a07e6c KYRA: (EOBII/FM-TOWNS) - fix font drawing regression
Commit: 1743a07e6ce44e73938adb399a96b66b1dcbbcb4
https://github.com/scummvm/scummvm/commit/1743a07e6ce44e73938adb399a96b66b1dcbbcb4
Author: athrxx (athrxx at scummvm.org)
Date: 2026-07-12T01:02:29+02:00
Commit Message:
KYRA: (EOBII/FM-TOWNS) - fix font drawing regression
Changed paths:
engines/kyra/graphics/screen_eob.cpp
diff --git a/engines/kyra/graphics/screen_eob.cpp b/engines/kyra/graphics/screen_eob.cpp
index 78824c9e5b4..3dcb2814e0d 100644
--- a/engines/kyra/graphics/screen_eob.cpp
+++ b/engines/kyra/graphics/screen_eob.cpp
@@ -2253,10 +2253,10 @@ void OldDOSFont::drawCharIntern(uint16 c, byte *dst, int pitch, int bpp, int col
*dst = col1;
} else {
if (bpp == 4) {
- if (col2)
+ if (col2 != -1)
*reinterpret_cast<uint32*>(dst) = col2;
} else if (bpp == 2) {
- if (col2)
+ if (col2 != 0xFFFF)
*reinterpret_cast<uint16*>(dst) = col2;
} else if (col2) {
*dst = col2;
More information about the Scummvm-git-logs
mailing list