[Scummvm-git-logs] scummvm master -> 2366bff928065738c066151786555fce525191c6

phcoder noreply at scummvm.org
Fri May 19 19:16:22 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:
2366bff928 GRAPHICS: Fix glyph offsets for PC98 glyphs *9e


Commit: 2366bff928065738c066151786555fce525191c6
    https://github.com/scummvm/scummvm/commit/2366bff928065738c066151786555fce525191c6
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-05-19T21:16:17+02:00

Commit Message:
GRAPHICS: Fix glyph offsets for PC98 glyphs *9e

Changed paths:
    graphics/sjis.cpp


diff --git a/graphics/sjis.cpp b/graphics/sjis.cpp
index d6a601a3caf..980bda6f472 100644
--- a/graphics/sjis.cpp
+++ b/graphics/sjis.cpp
@@ -554,9 +554,9 @@ const uint8 *FontPC98::getCharData(uint16 ch) const {
 
 	if (lo >= 0x3f && lo <= 0x7e)
 		glyph += lo - 0x3f;
-	else if (lo >= 0x80 && lo <= 0x9d)
+	else if (lo >= 0x80 && lo <= 0x9e)
 		glyph += lo - 0x80 + 64;
-	else if (lo >= 0x9e && lo <= 0xfc)
+	else if (lo >= 0x9f && lo <= 0xfc)
 		glyph += lo - 0x9e + 96;
 	else
 		return nullptr;




More information about the Scummvm-git-logs mailing list