aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-18 01:11:00 +0000
committerFilippos Karapetis2010-06-18 01:11:00 +0000
commitac4659b92acd42690dae6b09a1a72bb0d30c1764 (patch)
tree04d69fa25cb184e53c090c66b7aed72fdd7c7865
parentb453d139d49bb17fef58a329d1fba55b3fa8fbba (diff)
downloadscummvm-rg350-ac4659b92acd42690dae6b09a1a72bb0d30c1764.tar.gz
scummvm-rg350-ac4659b92acd42690dae6b09a1a72bb0d30c1764.tar.bz2
scummvm-rg350-ac4659b92acd42690dae6b09a1a72bb0d30c1764.zip
Added several unimplemented kDisplay subops, as well as a new sound command, found in the demo of Longbow
svn-id: r49983
-rw-r--r--engines/sci/graphics/paint16.cpp15
-rw-r--r--engines/sci/sound/soundcmd.cpp1
2 files changed, 16 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint16.cpp b/engines/sci/graphics/paint16.cpp
index feda84e993..ebb6cebb44 100644
--- a/engines/sci/graphics/paint16.cpp
+++ b/engines/sci/graphics/paint16.cpp
@@ -513,6 +513,21 @@ reg_t GfxPaint16::kernelDisplay(const char *text, int argc, reg_t *argv) {
case SCI_DISPLAY_DONTSHOWBITS:
bRedraw = 0;
break;
+ case 4: // Longbow demo
+ warning("Unknown kDisplay argument %X", displayArg);
+ break;
+ case 7: // Longbow demo
+ warning("Unknown kDisplay argument %X", displayArg);
+ break;
+ case 9: // Longbow demo
+ warning("Unknown kDisplay argument %X", displayArg);
+ break;
+ case 114: // Longbow demo
+ warning("Unknown kDisplay argument %X", displayArg);
+ break;
+ case 115: // Longbow demo
+ warning("Unknown kDisplay argument %X", displayArg);
+ break;
default:
error("Unknown kDisplay argument %X", displayArg);
break;
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 6b0a69f5b8..6470b17e83 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -176,6 +176,7 @@ SoundCommandParser::SoundCommandParser(ResourceManager *resMan, SegManager *segM
SOUNDCOMMAND(cmdSendMidi);
SOUNDCOMMAND(cmdReverb);
SOUNDCOMMAND(cmdSetSoundHold);
+ SOUNDCOMMAND(cmdDummy); // Longbow demo
_cmdUpdateCuesIndex = 11;
break;
case SCI_VERSION_1_LATE: