aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/part.h
diff options
context:
space:
mode:
authorGregory Montoir2007-05-20 11:48:53 +0000
committerGregory Montoir2007-05-20 11:48:53 +0000
commitb37c83448aaeb9a88a6f88fb58d9dda6634ef5f4 (patch)
treee0f33d8a600637dca50e27d1a29da9cce42645e3 /engines/cine/part.h
parent11f2d4052a9cfca3414fbaec514930123b434928 (diff)
downloadscummvm-rg350-b37c83448aaeb9a88a6f88fb58d9dda6634ef5f4.tar.gz
scummvm-rg350-b37c83448aaeb9a88a6f88fb58d9dda6634ef5f4.tar.bz2
scummvm-rg350-b37c83448aaeb9a88a6f88fb58d9dda6634ef5f4.zip
made the resource loading function case insensitive to the filename and removed a NULL dereference if a file is not found
svn-id: r26885
Diffstat (limited to 'engines/cine/part.h')
-rw-r--r--engines/cine/part.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/part.h b/engines/cine/part.h
index 657d00465c..b8abd7620c 100644
--- a/engines/cine/part.h
+++ b/engines/cine/part.h
@@ -65,7 +65,7 @@ int16 findFileInBundle(const char *fileName);
void readFromPart(int16 idx, byte *dataPtr);
byte *readBundleFile(int16 foundFileIdx);
-byte *readBundleSoundFile(const char *entryName);
+byte *readBundleSoundFile(const char *entryName, uint32 *size = 0);
byte *readFile(const char *filename);
void checkDataDisk(int16 param);