diff options
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r-- | engines/gob/gob.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index e6016b1442..ec023f3ae3 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -193,6 +193,11 @@ void GobEngine::shutdown() { _quitRequested = true; } +void GobEngine::writeVarDebug(uint32 offs, uint32 v) { + warning("Setting var %d(%d) to %d", offs, offs >> 2, v); + (*(uint32 *)(_global->_inter_variables + (offs))) = v; +} + int GobEngine::init() { _snd = new Snd(this); _global = new Global(this); |