diff options
author | Eugene Sandulenko | 2004-11-24 00:14:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-11-24 00:14:21 +0000 |
commit | 31e434dcf1e46510606efa3025c24c17ace379c6 (patch) | |
tree | addc1c7b6b9b2489eb9aca49e21ee0c729671adb /queen/queen.cpp | |
parent | 6414ec92a2a3509946ae4ec35a3a77e76ad152df (diff) | |
download | scummvm-rg350-31e434dcf1e46510606efa3025c24c17ace379c6.tar.gz scummvm-rg350-31e434dcf1e46510606efa3025c24c17ace379c6.tar.bz2 scummvm-rg350-31e434dcf1e46510606efa3025c24c17ace379c6.zip |
Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.
svn-id: r15873
Diffstat (limited to 'queen/queen.cpp')
-rw-r--r-- | queen/queen.cpp | 7 |
1 files changed, 5 insertions, 2 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(); |