diff options
author | Jonathan Gray | 2003-03-18 06:53:47 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-03-18 06:53:47 +0000 |
commit | 5985310d64045cfea39998dda6ad45577d966392 (patch) | |
tree | 92b5212ae5104c4c04b63f22175873399de3bf90 /common/main.cpp | |
parent | 0812d3bf444ef6c200d30b4d16d1b095fa571597 (diff) | |
download | scummvm-rg350-5985310d64045cfea39998dda6ad45577d966392.tar.gz scummvm-rg350-5985310d64045cfea39998dda6ad45577d966392.tar.bz2 scummvm-rg350-5985310d64045cfea39998dda6ad45577d966392.zip |
add GF_DEFAULT_TO_1X_SCALER
svn-id: r6830
Diffstat (limited to 'common/main.cpp')
-rw-r--r-- | common/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/main.cpp b/common/main.cpp index baaf9a5312..fdb8f9463f 100644 --- a/common/main.cpp +++ b/common/main.cpp @@ -197,6 +197,13 @@ int main(int argc, char *argv[]) { prop.caption = detector.getGameName().c_str(); system->property(OSystem::PROP_SET_WINDOW_CAPTION, &prop); + // See if the game should default to 1x scaler + if ((detector._default_gfx_mode) && + (detector._features & GF_DEFAULT_TO_1X_SCALER)) { + prop.gfx_mode = GFX_NORMAL; + system->property(OSystem::PROP_SET_GFX_MODE, &prop); + } + // Create the game engine Engine *engine = Engine::createFromDetector(&detector, system); |