From a5a3977c905d55dd3c8e9ff6e1acbac07b1fb305 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Thu, 17 May 2012 14:20:04 +0200 Subject: TONY: Fix compiling with GCC --- engines/tony/detection.cpp | 2 +- engines/tony/tony.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/tony') diff --git a/engines/tony/detection.cpp b/engines/tony/detection.cpp index 578c5c796c..63bb02a5f2 100644 --- a/engines/tony/detection.cpp +++ b/engines/tony/detection.cpp @@ -78,7 +78,7 @@ public: virtual SaveStateList listSaves(const char *target) const; virtual int getMaximumSaveSlot() const; virtual void removeSaveState(const char *target, int slot) const; - SaveStateDescriptor TonyMetaEngine::querySaveMetaInfos(const char *target, int slot) const; + SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; }; bool TonyMetaEngine::hasFeature(MetaEngineFeature f) const { diff --git a/engines/tony/tony.h b/engines/tony/tony.h index 574861487a..f40eb1325d 100644 --- a/engines/tony/tony.h +++ b/engines/tony/tony.h @@ -145,8 +145,8 @@ public: virtual bool canLoadGameStateCurrently(); virtual bool canSaveGameStateCurrently(); - Common::Error TonyEngine::loadGameState(int slot); - Common::Error TonyEngine::saveGameState(int slot, const Common::String &desc); + Common::Error loadGameState(int slot); + Common::Error saveGameState(int slot, const Common::String &desc); // Avverte che siamo guidati dal GDI void GDIControl(bool bCon); -- cgit v1.2.3