aboutsummaryrefslogtreecommitdiff
path: root/scumm/imuse_digi
diff options
context:
space:
mode:
authorTravis Howell2005-05-21 11:13:46 +0000
committerTravis Howell2005-05-21 11:13:46 +0000
commit3e0ec05ae6320ddaa7f5e57e088a29ae12a58e45 (patch)
tree670afb88186c0c0dda08e87bb322e302286138ca /scumm/imuse_digi
parent4604bedb980bfedbcf3813990131e34f42671e01 (diff)
downloadscummvm-rg350-3e0ec05ae6320ddaa7f5e57e088a29ae12a58e45.tar.gz
scummvm-rg350-3e0ec05ae6320ddaa7f5e57e088a29ae12a58e45.tar.bz2
scummvm-rg350-3e0ec05ae6320ddaa7f5e57e088a29ae12a58e45.zip
Switch to errors, music/sound file is required in many games.
svn-id: r18203
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r--scumm/imuse_digi/dimuse_bndmgr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/imuse_digi/dimuse_bndmgr.cpp b/scumm/imuse_digi/dimuse_bndmgr.cpp
index cb3b1f7a26..0c618fb812 100644
--- a/scumm/imuse_digi/dimuse_bndmgr.cpp
+++ b/scumm/imuse_digi/dimuse_bndmgr.cpp
@@ -74,7 +74,7 @@ int BundleDirCache::matchFile(const char *filename) {
Common::File file;
if (file.open(filename) == false) {
- warning("BundleDirCache::matchFile() Can't open bundle file: %s", filename);
+ error("BundleDirCache::matchFile() Can't open bundle file: %s", filename);
return false;
}
@@ -196,7 +196,7 @@ bool BundleMgr::loadCompTable(int32 index) {
_file.seek(8, SEEK_CUR);
if (tag != MKID_BE('COMP')) {
- warning("BundleMgr::loadCompTable() Compressed sound %d invalid (%s)", index, tag2str(tag));
+ error("BundleMgr::loadCompTable() Compressed sound %d invalid (%s)", index, tag2str(tag));
return false;
}
@@ -227,7 +227,7 @@ int32 BundleMgr::decompressSampleByIndex(int32 index, int32 offset, int32 size,
assert(0 <= index && index < _numFiles);
if (_file.isOpen() == false) {
- warning("BundleMgr::decompressSampleByIndex() File is not open!");
+ error("BundleMgr::decompressSampleByIndex() File is not open!");
return 0;
}
@@ -303,7 +303,7 @@ int32 BundleMgr::decompressSampleByName(const char *name, int32 offset, int32 si
int32 final_size = 0, i;
if (!_file.isOpen()) {
- warning("BundleMgr::decompressSampleByName() File is not open!");
+ error("BundleMgr::decompressSampleByName() File is not open!");
return 0;
}