diff options
Diffstat (limited to 'queen')
-rw-r--r-- | queen/queen.cpp | 7 | ||||
-rw-r--r-- | queen/queen.h | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp index dffdf208a4..88b0463452 100644 --- a/queen/queen.cpp +++ b/queen/queen.cpp @@ -316,8 +316,11 @@ int QueenEngine::go() { return 0; } -int QueenEngine::init() { - _system->initSize(GAME_SCREEN_WIDTH, GAME_SCREEN_HEIGHT); +int QueenEngine::init(GameDetector &detector) { + _system->beginGFXTransaction(); + initCommonGFX(detector); + _system->initSize(GAME_SCREEN_WIDTH, GAME_SCREEN_HEIGHT); + _system->endGFXTransaction(); _bam = new BamScene(this); _resource = new Resource(); diff --git a/queen/queen.h b/queen/queen.h index ceb895d2ce..6ef5d463c6 100644 --- a/queen/queen.h +++ b/queen/queen.h @@ -124,7 +124,7 @@ protected: void errorString(const char *buf_input, char *buf_output); int go(); - int init(); + int init(GameDetector &detector); int _talkSpeed; |