diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/lure.cpp | 10 | ||||
-rw-r--r-- | engines/lure/lure.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index de213b4f5a..06d3b1984e 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -154,6 +154,16 @@ int LureEngine::go() { return 0; } +void LureEngine::pauseEngineIntern(bool pause) { + Engine::pauseEngineIntern(pause); + + if (pause) { + Sound.pause(); + } else { + Sound.resume(); + } +} + void LureEngine::quitGame() { _system->quit(); } diff --git a/engines/lure/lure.h b/engines/lure/lure.h index fa70abc1f0..d66f446247 100644 --- a/engines/lure/lure.h +++ b/engines/lure/lure.h @@ -69,6 +69,7 @@ public: virtual int init(); virtual int go(); + virtual void pauseEngineIntern(bool pause); void quitGame(); Disk &disk() { return *_disk; } |