diff options
author | Filippos Karapetis | 2010-06-25 17:59:49 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-25 17:59:49 +0000 |
commit | 784f52a677aed3877b47371f6bbcb3e3ffa97393 (patch) | |
tree | ceb87041fbdc60a8878f34d8da23cccec30e65f7 /engines/sci/engine/seg_manager.cpp | |
parent | 69694f361977d8ae1908957e5fb9d4ad242bbf98 (diff) | |
download | scummvm-rg350-784f52a677aed3877b47371f6bbcb3e3ffa97393.tar.gz scummvm-rg350-784f52a677aed3877b47371f6bbcb3e3ffa97393.tar.bz2 scummvm-rg350-784f52a677aed3877b47371f6bbcb3e3ffa97393.zip |
Removed the getHunkPointer error - it's valid SCI behavior (e.g. when loading/quitting sometimes, since hunks are not saved). We check for valid hunk pointers anyway, so there's no reason for the warning/error
svn-id: r50279
Diffstat (limited to 'engines/sci/engine/seg_manager.cpp')
-rw-r--r-- | engines/sci/engine/seg_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index d356c9a3fc..3740e53339 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -454,7 +454,7 @@ byte *SegManager::getHunkPointer(reg_t addr) { HunkTable *ht = (HunkTable *)getSegment(addr.segment, SEG_TYPE_HUNK); if (!ht || !ht->isValidEntry(addr.offset)) { - error("getHunkPointer() with invalid handle %04x:%04x", PRINT_REG(addr)); + // Valid SCI behavior, e.g. when loading/quitting return NULL; } |