aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMatthew Hoops2009-12-21 15:22:42 +0000
committerMatthew Hoops2009-12-21 15:22:42 +0000
commit35e91fbddf029bd5dc251fda0f695805de315cfd (patch)
treef7f9d0b950c544a39e8ad712895ad61ad58d1904 /engines/sci
parent9a0074ba5b9174edad4ae58f4d9599ab1fee4fef (diff)
downloadscummvm-rg350-35e91fbddf029bd5dc251fda0f695805de315cfd.tar.gz
scummvm-rg350-35e91fbddf029bd5dc251fda0f695805de315cfd.tar.bz2
scummvm-rg350-35e91fbddf029bd5dc251fda0f695805de315cfd.zip
Add a TODO for the SCI 2.1 message version (5).
svn-id: r46465
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/message.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp
index 8dc893db64..870341b7da 100644
--- a/engines/sci/engine/message.cpp
+++ b/engines/sci/engine/message.cpp
@@ -155,8 +155,14 @@ bool MessageState::getRecord(CursorStack &stack, bool recurse, MessageRecord &re
case 4:
reader = new MessageReaderV4(res->data, res->size);
break;
+#ifdef ENABLE_SCI32
+ case 5:
+ // TODO: Decode this version's format... It's at least used in Torin.
+ warning("The SCI 2.1 message format is not supported");
+ return false;
+#endif
default:
- warning("Message: unsupported resource version");
+ warning("Message: unsupported resource version %d", version);
return false;
}