mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
Gob3CD - Move subtitle check to initialization
svn-id: r48167
This commit is contained in:
parent
e869b5c7e6
commit
e011df1f68
@ -221,7 +221,7 @@ void Draw_v2::printTotText(int16 id) {
|
||||
|
||||
bool isSubtitle = (ptr[1] & 0x80) != 0;
|
||||
|
||||
if (isSubtitle && !_vm->_global->_doSubtitles && ((_vm->getGameType() != kGameTypeGob3) || !_vm->isCD())) {
|
||||
if (isSubtitle && !_vm->_global->_doSubtitles) {
|
||||
delete textItem;
|
||||
return;
|
||||
}
|
||||
|
@ -68,6 +68,8 @@ void Init_v2::initVideo() {
|
||||
if (_vm->_global->_videoMode != 0)
|
||||
_vm->_video->initSurfDesc(_vm->_global->_videoMode, _vm->_video->_surfWidth,
|
||||
_vm->_video->_surfHeight, PRIMARY_SURFACE);
|
||||
if ((_vm->getGameType() == kGameTypeGob3) && _vm->isCD())
|
||||
_vm->_global->_doSubtitles = true;
|
||||
}
|
||||
|
||||
} // End of namespace Gob
|
||||
|
Loading…
Reference in New Issue
Block a user