[Scummvm-git-logs] scummvm master -> 3197ebb89879b746a2e3b01f6cb589c95eee405f
athrxx
noreply at scummvm.org
Tue Aug 25 14:00:15 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:
3197ebb898 KYRA: (EOBII/PC98) - fix Japanese text glitch
Commit: 3197ebb89879b746a2e3b01f6cb589c95eee405f
https://github.com/scummvm/scummvm/commit/3197ebb89879b746a2e3b01f6cb589c95eee405f
Author: athrxx (athrxx at scummvm.org)
Date: 2026-08-25T15:59:16+02:00
Commit Message:
KYRA: (EOBII/PC98) - fix Japanese text glitch
Changed paths:
engines/kyra/text/text_rpg.cpp
diff --git a/engines/kyra/text/text_rpg.cpp b/engines/kyra/text/text_rpg.cpp
index 31e88f4c3d0..080af6b48f5 100644
--- a/engines/kyra/text/text_rpg.cpp
+++ b/engines/kyra/text/text_rpg.cpp
@@ -163,7 +163,7 @@ void TextDisplayer_rpg::displayText(char *str, ...) {
int sdx = _screen->curDimIndex();
bool sjisTextMode = (_pc98TextMode && (sdx == 3 || sdx == 4 || sdx == 5 || sdx == 15)) ? true : false;
- Screen::FontId of = (_vm->game() == GI_EOB2 && _vm->gameFlags().platform == Common::kPlatformFMTowns) ? _screen->setFont(Screen::FID_8_FNT) : _screen->_currentFont;
+ Screen::FontId of = (_vm->game() == GI_EOB2 && (_vm->gameFlags().platform == Common::kPlatformFMTowns || _vm->gameFlags().platform == Common::kPlatformPC98)) ? _screen->setFont(Screen::FID_8_FNT) : _screen->_currentFont;
uint16 charsPerLine = (sd->w << 3) / (_screen->getFontWidth() + _screen->_charSpacing);
More information about the Scummvm-git-logs
mailing list