From 92a8d1360a4b98fbf050123617e637df1042ad3c Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 31 Dec 2009 05:30:25 +0000 Subject: kLocalToGlobal has a 'Plane' variant in SCI32 like its kGlobalToLocal sibling. The restore menu is now slightly navigatable. svn-id: r46790 --- engines/sci/engine/kevent.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/sci/engine/kevent.cpp') diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp index ffdc597652..fbc0f71cad 100644 --- a/engines/sci/engine/kevent.cpp +++ b/engines/sci/engine/kevent.cpp @@ -229,6 +229,12 @@ reg_t kGlobalToLocal(EngineState *s, int argc, reg_t *argv) { } reg_t kLocalToGlobal(EngineState *s, int argc, reg_t *argv) { +#ifdef ENABLE_SCI32 + // SCI32 has an extra argument for a plane here + if (argc > 1) + warning("kLocalToGlobal Plane: %04x:%04x", PRINT_REG(argv[1])); +#endif + reg_t obj = argc ? argv[0] : NULL_REG; // Can this really happen? Lars SegManager *segMan = s->_segMan; -- cgit v1.2.3