aboutsummaryrefslogtreecommitdiff
path: root/sky/disk.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-12 05:38:04 +0000
committerRobert Göffringmann2003-07-12 05:38:04 +0000
commit67a760d10c18f4b0af37fa6a11ff817b2c318e87 (patch)
tree8f18c284338b01aa78a2973152c95eb5c1a6bf23 /sky/disk.cpp
parentcb48b4fca0b6a1fc816ba6cb49f497476ebcd534 (diff)
downloadscummvm-rg350-67a760d10c18f4b0af37fa6a11ff817b2c318e87.tar.gz
scummvm-rg350-67a760d10c18f4b0af37fa6a11ff817b2c318e87.tar.bz2
scummvm-rg350-67a760d10c18f4b0af37fa6a11ff817b2c318e87.zip
floppy versions don't seem to have all languages in their datafiles.
svn-id: r8927
Diffstat (limited to 'sky/disk.cpp')
-rw-r--r--sky/disk.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp
index 97d3e98c17..f0ded23e0a 100644
--- a/sky/disk.cpp
+++ b/sky/disk.cpp
@@ -89,6 +89,11 @@ void SkyDisk::flushPrefetched(void) {
_prefRoot = NULL;
}
+bool SkyDisk::fileExists(uint16 fileNr) {
+
+ return (getFileInfo(fileNr) != NULL);
+}
+
//load in file file_nr to address dest
//if dest == NULL, then allocate memory for this file
uint8 *SkyDisk::loadFile(uint16 fileNr, uint8 *dest) {