From 940bb41526da8e16889effc803f029128043b5d8 Mon Sep 17 00:00:00 2001 From: Ben Castricum Date: Sat, 27 Aug 2016 20:22:41 +0200 Subject: SCUMM HE: Compensate timers for pauses, fixes bug #6352 --- engines/scumm/he/intern_he.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/scumm/he') diff --git a/engines/scumm/he/intern_he.h b/engines/scumm/he/intern_he.h index c6abac3ecc..72c3e38e65 100644 --- a/engines/scumm/he/intern_he.h +++ b/engines/scumm/he/intern_he.h @@ -56,9 +56,11 @@ public: Common::Rect _actorClipOverride; // HE specific int _heTimers[16]; + uint32 _pauseStartTime; int getHETimer(int timer); void setHETimer(int timer); + void pauseHETimers(bool pause); public: ScummEngine_v60he(OSystem *syst, const DetectorResult &dr); @@ -94,6 +96,7 @@ protected: Common::WriteStream *openSaveFileForAppending(const byte *fileName); void deleteSaveFile(const byte *fileName); void renameSaveFile(const byte *from, const byte *to); + void pauseEngineIntern(bool pause); Common::SeekableReadStream *openSaveFileForReading(int slot, bool compat, Common::String &fileName); Common::WriteStream *openSaveFileForWriting(int slot, bool compat, Common::String &fileName); -- cgit v1.2.3