diff options
author | Johannes Schickel | 2005-12-12 17:39:01 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-12 17:39:01 +0000 |
commit | 080039cf1437bfc2de9716f40612dd4379dc7853 (patch) | |
tree | 66fbee33590feed132fee869583bc132f3be30dd /kyra/kyra.cpp | |
parent | 701bdbda9dabac0884bbf7de14bea3593a7377ce (diff) | |
download | scummvm-rg350-080039cf1437bfc2de9716f40612dd4379dc7853.tar.gz scummvm-rg350-080039cf1437bfc2de9716f40612dd4379dc7853.tar.bz2 scummvm-rg350-080039cf1437bfc2de9716f40612dd4379dc7853.zip |
Reworked the resource manager. Now it doesn't load all package files into
memory but loads the needed part from the original files if needed.
Also added CHAPTER1.VRM to the default CD filelist to fix that scummvm
quits then looking at items in the CD version. (CHAPTER[2-5].VRM is NOT needed
since they are the same files as CHAPTER1.VRM).
svn-id: r19784
Diffstat (limited to 'kyra/kyra.cpp')
-rw-r--r-- | kyra/kyra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp index b3f7e0deb8..91b8fdac69 100644 --- a/kyra/kyra.cpp +++ b/kyra/kyra.cpp @@ -911,7 +911,7 @@ void KyraEngine::snd_playSoundEffect(int track) { void KyraEngine::snd_playVoiceFile(int id) { debug(9, "KyraEngine::snd_playVoiceFile(%d)", id); char vocFile[8]; - assert(id >= 0 && id < 1000); + assert(id >= 0 && id < 9999); sprintf(vocFile, "%03d.VOC", id); uint32 fileSize = 0; byte *fileData = 0; |