diff options
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r-- | scumm/scumm.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index bdb91a1d99..864d261207 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -976,10 +976,13 @@ ScummEngine_v70he::ScummEngine_v70he(GameDetector *detector, OSystem *syst, cons #pragma mark --- Initialization --- #pragma mark - -int ScummEngine::init() { +int ScummEngine::init(GameDetector &detector) { // Initialize backend - _system->initSize(_screenWidth, _screenHeight); + _system->beginGFXTransaction(); + initCommonGFX(detector); + _system->initSize(_screenWidth, _screenHeight); + _system->endGFXTransaction(); int cd_num = ConfMan.getInt("cdrom"); if (cd_num >= 0 && (_features & GF_AUDIOTRACKS)) |