Ticket #8856: defaultTo1XScaler.diff

File defaultTo1XScaler.diff, 599 bytes (added by SF/lvzuufx, 17 years ago)
Line 
1diff -EbwuNr engines/scumm/scumm.cpp.org engines/scumm/scumm.cpp
2--- engines/scumm/scumm.cpp.org 2008-03-26 22:24:08.000000000 +0900
3+++ engines/scumm/scumm.cpp 2008-04-23 17:23:36.000000000 +0900
4@@ -1117,7 +1117,7 @@
5 defaultTo1XScaler = true;
6 } else if (_useCJKMode) {
7 _system->initSize(_screenWidth * _textSurfaceMultiplier, _screenHeight * _textSurfaceMultiplier);
8- defaultTo1XScaler = true;
9+ defaultTo1XScaler = ( _screenWidth * _textSurfaceMultiplier > 320 );
10 } else {
11 _system->initSize(_screenWidth, _screenHeight);
12 defaultTo1XScaler = (_screenWidth > 320);