aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2009-02-15 10:17:20 +0000
committerEugene Sandulenko2009-02-15 10:17:20 +0000
commit59588685039bcc0b87e4c2785fcf7ad0c7b23cf8 (patch)
tree4957836133bba9cb5ed92f5331b1bdcc262db6fc
parent986a8b0e772ef0ae9bf5ecef59adb4e0b17686bc (diff)
downloadscummvm-rg350-59588685039bcc0b87e4c2785fcf7ad0c7b23cf8.tar.gz
scummvm-rg350-59588685039bcc0b87e4c2785fcf7ad0c7b23cf8.tar.bz2
scummvm-rg350-59588685039bcc0b87e4c2785fcf7ad0c7b23cf8.zip
Fix crash at startup
svn-id: r38216
-rw-r--r--engines/sci/scummvm/scummvm_engine.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/sci/scummvm/scummvm_engine.cpp b/engines/sci/scummvm/scummvm_engine.cpp
index 2f910e044c..cabaccff7f 100644
--- a/engines/sci/scummvm/scummvm_engine.cpp
+++ b/engines/sci/scummvm/scummvm_engine.cpp
@@ -371,11 +371,7 @@ SciEngine::~SciEngine() {
}
Common::Error SciEngine::init() {
- initCommonGFX(false);
- _system->beginGFXTransaction();
- //_system->initSize(640, 400),;
- _system->initSize(320, 200);
- _system->endGFXTransaction();
+ initGraphics(320, 200, false);
//GUIErrorMessage("lalalal asfa w4 haha hreh au u<w");