diff options
author | Filippos Karapetis | 2014-08-07 23:28:59 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-08-08 02:11:49 +0300 |
commit | e13cc803487a602064b3941c47c3f816efb8e867 (patch) | |
tree | 9fbaa4456835c6f3ff4142d193d3bd755f08f4b1 /engines/sci/engine | |
parent | 1cbfe02bcfbb947aaa8b016087095734c603d9f5 (diff) | |
download | scummvm-rg350-e13cc803487a602064b3941c47c3f816efb8e867.tar.gz scummvm-rg350-e13cc803487a602064b3941c47c3f816efb8e867.tar.bz2 scummvm-rg350-e13cc803487a602064b3941c47c3f816efb8e867.zip |
SCI: Show the address segment when trying to free hunks from an invalid
address
Diffstat (limited to 'engines/sci/engine')
-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 3738fd3dcb..58c2b8d3e3 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -371,7 +371,7 @@ void SegManager::freeHunkEntry(reg_t addr) { HunkTable *ht = (HunkTable *)getSegment(addr.getSegment(), SEG_TYPE_HUNK); if (!ht) { - warning("Attempt to free Hunk from address %04x:%04x: Invalid segment type", PRINT_REG(addr)); + warning("Attempt to free Hunk from address %04x:%04x: Invalid segment type %d", PRINT_REG(addr), getSegmentType(addr.getSegment())); return; } |