diff options
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/toltecs/toltecs.cpp | 16 | ||||
| -rw-r--r-- | engines/toltecs/toltecs.h | 3 | 
2 files changed, 7 insertions, 12 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index c7ec3cac63..40b23881b7 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -79,15 +79,6 @@ ToltecsEngine::~ToltecsEngine() {  	delete _rnd;  } -Common::Error ToltecsEngine::init() { -	// Initialize backend -	_system->beginGFXTransaction(); -	initCommonGFX(true); -	_system->initSize(640, 400); -	_system->endGFXTransaction(); -	return Common::kNoError; -} -  void ToltecsEngine::syncSoundSettings() {  	/*  	_music->setVolume(ConfMan.getInt("music_volume")); @@ -98,7 +89,12 @@ void ToltecsEngine::syncSoundSettings() {  	*/  } -Common::Error ToltecsEngine::go() { +Common::Error ToltecsEngine::run() { +	// Initialize backend +	_system->beginGFXTransaction(); +	initCommonGFX(true); +	_system->initSize(640, 400); +	_system->endGFXTransaction();  	_isSaveAllowed = true; diff --git a/engines/toltecs/toltecs.h b/engines/toltecs/toltecs.h index c3c538ba91..7b7e1a33fc 100644 --- a/engines/toltecs/toltecs.h +++ b/engines/toltecs/toltecs.h @@ -61,8 +61,7 @@ class ToltecsEngine : public ::Engine {  	Common::KeyState _keyPressed;  protected: -	Common::Error init(); -	Common::Error go(); +	Common::Error run();  //	void shutdown();  public:  | 
