diff options
Diffstat (limited to 'sky')
-rw-r--r-- | sky/sky.cpp | 7 | ||||
-rw-r--r-- | sky/sky.h | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index 17a2747191..bde61fcd0d 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -245,8 +245,11 @@ int SkyEngine::go() { return 0; } -int SkyEngine::init() { - _system->initSize(320, 200); +int SkyEngine::init(GameDetector &detector) { + _system->beginGFXTransaction(); + initCommonGFX(detector); + _system->initSize(320, 200); + _system->endGFXTransaction(); if (!_mixer->isReady()) warning("Sound initialisation failed"); @@ -100,7 +100,7 @@ protected: uint32 _lastSaveTime; Text *getText(); - int init(); + int init(GameDetector &detector); void initItemList(); void initVirgin(); |