diff options
Diffstat (limited to 'engines/gob/gob.h')
-rw-r--r-- | engines/gob/gob.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/gob.h b/engines/gob/gob.h index ca84d2bed3..95880ef2dd 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -55,6 +55,7 @@ class Music; #define VAR(var) VAR_OFFSET((var) << 2) #define VAR_ADDRESS(var) (&VAR(var)) +//#define WRITE_VAR_OFFSET(offs, val) _vm->writeVarDebug(offs, val) #define WRITE_VAR_OFFSET(offs, val) (VAR_OFFSET(offs) = (val)) #define WRITE_VAR(var, val) WRITE_VAR_OFFSET((var) << 2, (val)) @@ -120,6 +121,8 @@ public: Util *_util; Inter *_inter; Music *_music; + + void writeVarDebug(uint32 offs, uint32 v); }; } // End of namespace Gob |