diff options
author | Max Horn | 2003-10-10 10:42:37 +0000 |
---|---|---|
committer | Max Horn | 2003-10-10 10:42:37 +0000 |
commit | ed5948272dc3f91c793f64f6c82fc1a4b87173ce (patch) | |
tree | ce7042595e4c732230a0e8fb1bdc1af5a1e39c9e /queen/resource.h | |
parent | 08b74fbf792812f230f6715926adeb073c0cc264 (diff) | |
download | scummvm-rg350-ed5948272dc3f91c793f64f6c82fc1a4b87173ce.tar.gz scummvm-rg350-ed5948272dc3f91c793f64f6c82fc1a4b87173ce.tar.bz2 scummvm-rg350-ed5948272dc3f91c793f64f6c82fc1a4b87173ce.zip |
constness
svn-id: r10714
Diffstat (limited to 'queen/resource.h')
-rw-r--r-- | queen/resource.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/resource.h b/queen/resource.h index 8440b303af..744ed8c3bf 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -57,7 +57,7 @@ struct GameVersion { class Resource { public: - Resource(char *datafilePath); + Resource(const char *datafilePath); ~Resource(void); uint8 *loadFile(const char *filename, uint32 skipBytes = 0); bool exists(const char *filename); @@ -66,7 +66,7 @@ public: protected: File *_resourceFile; - char *_datafilePath; + const char *_datafilePath; const GameVersion *_gameVersion; uint32 _resourceEntries; ResourceEntry *_resourceTable; |