diff options
Diffstat (limited to 'gob')
-rw-r--r-- | gob/gob.cpp | 5 | ||||
-rw-r--r-- | gob/video.cpp | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gob/gob.cpp b/gob/gob.cpp index 8488edd388..2388e74a26 100644 --- a/gob/gob.cpp +++ b/gob/gob.cpp @@ -111,6 +111,11 @@ void GobEngine::errorString(const char *buf1, char *buf2) { } int GobEngine::init(GameDetector &detector) { + _system->beginGFXTransaction(); + initCommonGFX(detector); + _system->initSize(320, 200); + _system->endGFXTransaction(); + debugFlag = 1; breakSet = 0; doRangeClamp = 1; diff --git a/gob/video.cpp b/gob/video.cpp index 05170f9c42..60cff590ef 100644 --- a/gob/video.cpp +++ b/gob/video.cpp @@ -46,8 +46,6 @@ char vid_initDriver(int16 vidMode) { warning("STUB: vid_initDriver"); // FIXME: Finish all this stuff :) - g_system->initSize(320, 200); - _videoDriver = new VGAVideoDriver(); return 1; |