aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/saga.cpp4
-rw-r--r--engines/saga/saga.h15
2 files changed, 12 insertions, 7 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 2195a50998..772620e710 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -570,6 +570,10 @@ int SagaEngine::getTalkspeed() {
return (ConfMan.getInt("talkspeed") * 3 + 255 / 2) / 255;
}
+GUI::Debugger *SagaEngine::getDebugger() {
+ return _console;
+}
+
void SagaEngine::syncSoundSettings() {
_subtitlesEnabled = ConfMan.getBool("subtitles");
_readingSpeed = getTalkspeed();
diff --git a/engines/saga/saga.h b/engines/saga/saga.h
index e88e4c5e27..f323e9617d 100644
--- a/engines/saga/saga.h
+++ b/engines/saga/saga.h
@@ -445,15 +445,16 @@ class SagaEngine : public Engine {
public:
// Engine APIs
- virtual Common::Error init();
- virtual Common::Error go();
- virtual bool hasFeature(EngineFeature f) const;
- virtual void syncSoundSettings();
- virtual void pauseEngineIntern(bool pause);
+ Common::Error init();
+ Common::Error go();
+ bool hasFeature(EngineFeature f) const;
+ void syncSoundSettings();
+ void pauseEngineIntern(bool pause);
+
+ GUI::Debugger *getDebugger();
-public:
SagaEngine(OSystem *syst, const SAGAGameDescription *gameDesc);
- virtual ~SagaEngine();
+ ~SagaEngine();
void save(const char *fileName, const char *saveName);
void load(const char *fileName);