aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_adlib.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-11-23 02:50:20 +0100
committerJohannes Schickel2012-11-23 02:50:20 +0100
commitf361a7d624091132d1684907f35b9be693ab38f4 (patch)
tree4c9625abe8b8f31200ced66a8359aaed103ebb37 /engines/kyra/sound_adlib.h
parentf5a3260ee8b31c7ff5d63fe8d5ac551cc30d14d5 (diff)
downloadscummvm-rg350-f361a7d624091132d1684907f35b9be693ab38f4.tar.gz
scummvm-rg350-f361a7d624091132d1684907f35b9be693ab38f4.tar.bz2
scummvm-rg350-f361a7d624091132d1684907f35b9be693ab38f4.zip
KYRA: Make Sound::hasSoundFile const again.
Diffstat (limited to 'engines/kyra/sound_adlib.h')
-rw-r--r--engines/kyra/sound_adlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_adlib.h b/engines/kyra/sound_adlib.h
index 99e1f154c5..f78d812670 100644
--- a/engines/kyra/sound_adlib.h
+++ b/engines/kyra/sound_adlib.h
@@ -71,7 +71,7 @@ public:
virtual void initAudioResourceInfo(int set, void *info);
virtual void selectAudioResourceSet(int set);
- virtual bool hasSoundFile(uint file);
+ virtual bool hasSoundFile(uint file) const;
virtual void loadSoundFile(uint file);
virtual void loadSoundFile(Common::String file);
@@ -90,7 +90,7 @@ private:
void play(uint8 track, uint8 volume);
- const SoundResourceInfo_PC *res() {return _resInfo[_currentResourceSet]; }
+ const SoundResourceInfo_PC *res() const {return _resInfo[_currentResourceSet]; }
SoundResourceInfo_PC *_resInfo[3];
int _currentResourceSet;