mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
SCUMM: Fix string wrapping regression caused by Sega CD changes
This commit is contained in:
parent
327b35407f
commit
ac506478d9
@ -971,7 +971,8 @@ void ScummEngine::CHARSET_1() {
|
||||
|
||||
// If the string is centered and this is MI1 Sega CD, don't add linebreaks right away;
|
||||
// we will take care of it in a different way just below ... :-)
|
||||
if (_game.platform != Common::kPlatformSegaCD && !_charset->_center) {
|
||||
if (_game.platform != Common::kPlatformSegaCD ||
|
||||
(_game.platform != Common::kPlatformSegaCD && !_charset->_center)) {
|
||||
_charset->addLinebreaks(0, _charsetBuffer + _charsetBufPos, 0, maxWidth);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user