aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-11-29 14:46:15 +0100
committerPaul Gilbert2014-12-12 22:52:39 -0500
commitc42666f3d28519c52ac30695e175b8abb42436c7 (patch)
tree0baf08b4478a470d99df4c05e234877a08a27bf1
parent16a8d705baab154498cf33905655c4ed4b93b545 (diff)
downloadscummvm-rg350-c42666f3d28519c52ac30695e175b8abb42436c7.tar.gz
scummvm-rg350-c42666f3d28519c52ac30695e175b8abb42436c7.tar.bz2
scummvm-rg350-c42666f3d28519c52ac30695e175b8abb42436c7.zip
ACCESS: Add some code for VGA mode in cmdHelp
-rw-r--r--engines/access/amazon/amazon_scripts.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp
index e2d18141f4..eadcbddd2b 100644
--- a/engines/access/amazon/amazon_scripts.cpp
+++ b/engines/access/amazon/amazon_scripts.cpp
@@ -415,8 +415,14 @@ void AmazonScripts::cmdHelp() {
_game->_moreHelp = 1;
_game->_useItem = 0;
_vm->_events->hideCursor();
- _vm->_screen->restoreScreen();
- _vm->_screen->setPanel(0);
+ if (_vm->_screen->_vesaMode) {
+ _vm->_screen->restoreScreen();
+ _vm->_screen->setPanel(0);
+ } else {
+ _vm->_screen->fadeOut();
+ _vm->_screen->clearBuffer();
+ }
+
_vm->_screen->copyFrom(_vm->_buffer2);
_vm->_screen->restorePalette();
_vm->_screen->setPalette();