aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-08-28 02:01:33 +0200
committerStrangerke2014-08-28 02:01:33 +0200
commita0e54db08155f8cf8d56f66743ffa694c188e33b (patch)
tree2c5fbdbffd7c3454c76487d29bce53b6b1849ced
parent941b443195006a787f25143559bf793e863b9446 (diff)
downloadscummvm-rg350-a0e54db08155f8cf8d56f66743ffa694c188e33b.tar.gz
scummvm-rg350-a0e54db08155f8cf8d56f66743ffa694c188e33b.tar.bz2
scummvm-rg350-a0e54db08155f8cf8d56f66743ffa694c188e33b.zip
ACCESS: Set Vesa mode when using the CD
-rw-r--r--engines/access/screen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/access/screen.cpp b/engines/access/screen.cpp
index 025172464a..4f2ee3e3ac 100644
--- a/engines/access/screen.cpp
+++ b/engines/access/screen.cpp
@@ -41,7 +41,11 @@ Screen::Screen(AccessEngine *vm) : _vm(vm) {
Common::fill(&_scaleTable1[0], &_scaleTable1[256], 0);
Common::fill(&_scaleTable2[0], &_scaleTable2[256], 0);
_savedPaletteCount = 0;
- _vesaMode = 0;
+ if (_vm->isCD())
+ _vesaMode = 0;
+ else
+ _vesaMode = 1;
+
_vesaCurrentWin = 0;
_currentPanel = 0;
_hideFlag = true;