aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init.cpp
diff options
context:
space:
mode:
authorSven Hesse2006-05-11 19:43:30 +0000
committerSven Hesse2006-05-11 19:43:30 +0000
commit42e03bd70720643c0866abd7d6da50529d2c1f03 (patch)
tree80aff92316136cac1222ccf01782b5c58d4d7490 /engines/gob/init.cpp
parentd6af07989df23219293cf6117e6cd0ae6a63e2e9 (diff)
downloadscummvm-rg350-42e03bd70720643c0866abd7d6da50529d2c1f03.tar.gz
scummvm-rg350-42e03bd70720643c0866abd7d6da50529d2c1f03.tar.bz2
scummvm-rg350-42e03bd70720643c0866abd7d6da50529d2c1f03.zip
- Sound! Still a bit glitchy, though:
- Negative frequences?!? Maybe "SFX"? - No sound for a small part of the intro (there aren't any sndKeys covering that part either) - A rythm-instrument (hi-hat?) in the titlemusic isn't played as one - More differences in the drawing functions fleshed out - Some of the goblin handling functions written - More unnamed functions and variables, wheeee... svn-id: r22410
Diffstat (limited to 'engines/gob/init.cpp')
-rw-r--r--engines/gob/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/init.cpp b/engines/gob/init.cpp
index 1bfd0aadb5..c411a2430f 100644
--- a/engines/gob/init.cpp
+++ b/engines/gob/init.cpp
@@ -144,7 +144,7 @@ memBlocks = word ptr -2*/
_palDesc->unused2 = _vm->_draw->_unusedPalette2;
_vm->_video->setFullPalette(_palDesc);
- for (i = 0; i < 4; i++)
+ for (i = 0; i < 8; i++)
_vm->_draw->_fonts[i] = 0;
handle = _vm->_dataio->openData("intro.inf");
@@ -167,7 +167,7 @@ memBlocks = word ptr -2*/
infEnd = infBuf + _vm->_dataio->getDataSize("intro.inf");
for (i = 0; i < 4; i++, infPtr++) {
- for (j = 0; *infPtr >= ' ' && infPtr != infEnd;
+ for (j = 0; infPtr < infEnd && *infPtr >= ' ';
j++, infPtr++)
buffer[j] = *infPtr;