aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/groovie.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-03-01 09:12:32 +0000
committerJordi Vilalta Prat2009-03-01 09:12:32 +0000
commite5e733781e5b3b1776ff68c44f959aec600424b3 (patch)
treeb434485c1f0d7b886467a831eeb2017a20e5899d /engines/groovie/groovie.cpp
parent99df3ccd73962a5ae8f85e212c6fcfcfb14010c6 (diff)
downloadscummvm-rg350-e5e733781e5b3b1776ff68c44f959aec600424b3.tar.gz
scummvm-rg350-e5e733781e5b3b1776ff68c44f959aec600424b3.tar.bz2
scummvm-rg350-e5e733781e5b3b1776ff68c44f959aec600424b3.zip
Groovie: Merged init() and go() into run()
svn-id: r39023
Diffstat (limited to 'engines/groovie/groovie.cpp')
-rw-r--r--engines/groovie/groovie.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index f08091dac9..8c1fd476f0 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -68,7 +68,7 @@ GroovieEngine::~GroovieEngine() {
delete _graphicsMan;
}
-Common::Error GroovieEngine::init() {
+Common::Error GroovieEngine::run() {
// Initialize the graphics
initGraphics(640, 480, true);
@@ -156,13 +156,8 @@ Common::Error GroovieEngine::init() {
_script.directGameLoad(slot);
}
- return Common::kNoError;
-}
-
-Common::Error GroovieEngine::go() {
// Check that the game files and the audio tracks aren't together run from
// the same cd
-
checkCD();
// Game timer counter