aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2003-10-10 10:42:37 +0000
committerMax Horn2003-10-10 10:42:37 +0000
commited5948272dc3f91c793f64f6c82fc1a4b87173ce (patch)
treece7042595e4c732230a0e8fb1bdc1af5a1e39c9e /sky
parent08b74fbf792812f230f6715926adeb073c0cc264 (diff)
downloadscummvm-rg350-ed5948272dc3f91c793f64f6c82fc1a4b87173ce.tar.gz
scummvm-rg350-ed5948272dc3f91c793f64f6c82fc1a4b87173ce.tar.bz2
scummvm-rg350-ed5948272dc3f91c793f64f6c82fc1a4b87173ce.zip
constness
svn-id: r10714
Diffstat (limited to 'sky')
-rw-r--r--sky/disk.cpp2
-rw-r--r--sky/disk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp
index 0bc256c22f..010953194f 100644
--- a/sky/disk.cpp
+++ b/sky/disk.cpp
@@ -31,7 +31,7 @@
static const char *dataFilename = "sky.dsk";
static const char *dinnerFilename = "sky.dnr";
-SkyDisk::SkyDisk(char *gameDataPath) {
+SkyDisk::SkyDisk(const char *gameDataPath) {
_prefRoot = NULL;
// Set default file directory
diff --git a/sky/disk.h b/sky/disk.h
index eaf9be4e58..a369ae32c3 100644
--- a/sky/disk.h
+++ b/sky/disk.h
@@ -38,7 +38,7 @@ struct PrefFile {
class SkyDisk {
public:
- SkyDisk(char *gameDataPath);
+ SkyDisk(const char *gameDataPath);
~SkyDisk(void);
uint8 *loadFile(uint16 fileNr, uint8 *dest);