aboutsummaryrefslogtreecommitdiff
path: root/sky/intro.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2004-11-11 10:14:35 +0000
committerRobert Göffringmann2004-11-11 10:14:35 +0000
commit7dec7b7054db8367f48d27a319c3550ec807ac27 (patch)
tree6539c8513a875eaa37c0de06208782e9d337aa4a /sky/intro.cpp
parentc50560a48813ba237878af4f47854bd3bc8751b3 (diff)
downloadscummvm-rg350-7dec7b7054db8367f48d27a319c3550ec807ac27.tar.gz
scummvm-rg350-7dec7b7054db8367f48d27a319c3550ec807ac27.tar.bz2
scummvm-rg350-7dec7b7054db8367f48d27a319c3550ec807ac27.zip
misc cleanup
svn-id: r15783
Diffstat (limited to 'sky/intro.cpp')
-rw-r--r--sky/intro.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp
index 8a7b0c1630..5b412a7bc0 100644
--- a/sky/intro.cpp
+++ b/sky/intro.cpp
@@ -725,7 +725,7 @@ bool Intro::nextPart(uint16 *&data) {
case PLAYVOICE:
if (!escDelay(200))
return false;
- vData = _skyDisk->loadFile(*data++, NULL);
+ vData = _skyDisk->loadFile(*data++);
// HACK: Fill the header with silence. We should
// probably use _skySound instead of calling playRaw()
// directly, but this will have to do for now.
@@ -742,7 +742,7 @@ bool Intro::nextPart(uint16 *&data) {
_mixer->stopID(SOUND_BG);
if (_bgBuf)
free(_bgBuf);
- _bgBuf = _skyDisk->loadFile(*data++, NULL);
+ _bgBuf = _skyDisk->loadFile(*data++);
_bgSize = _skyDisk->_lastLoadedFileSize;
return true;
case LOOPBG:
@@ -770,8 +770,8 @@ bool Intro::floppyScrollFlirt(void) {
memset(scrollScreen, 0, FRAME_SIZE);
memcpy(scrollScreen + FRAME_SIZE, _skyScreen->giveCurrent(), FRAME_SIZE);
uint8 *scrollPos = scrollScreen + FRAME_SIZE;
- uint8 *vgaData = _skyDisk->loadFile(60100, NULL);
- uint8 *diffData = _skyDisk->loadFile(60101, NULL);
+ uint8 *vgaData = _skyDisk->loadFile(60100);
+ uint8 *diffData = _skyDisk->loadFile(60101);
uint16 frameNum = READ_LE_UINT16(diffData);
uint8 *diffPtr = diffData + 2;
uint8 *vgaPtr = vgaData;