aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-11-12 06:22:18 +0000
committerTravis Howell2005-11-12 06:22:18 +0000
commit0f5838976f548f9a72667ffd4af7f6a3d56dd810 (patch)
treed43d93f75ae51fe5c60832700b3da1385bb4eb81 /simon/simon.cpp
parent5307f21742d272c59a7b9382895c2063c5807758 (diff)
downloadscummvm-rg350-0f5838976f548f9a72667ffd4af7f6a3d56dd810.tar.gz
scummvm-rg350-0f5838976f548f9a72667ffd4af7f6a3d56dd810.tar.bz2
scummvm-rg350-0f5838976f548f9a72667ffd4af7f6a3d56dd810.zip
Add details for Acorn demo.
Remove left overs. svn-id: r19565
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp20
1 files changed, 6 insertions, 14 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index b6704862a7..c30809d793 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -511,20 +511,16 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst)
}
int SimonEngine::init(GameDetector &detector) {
- // Detect game and open resource files
+
+ // Add default file directories for Acorn version
+ File::addDefaultDirectory(_gameDataPath + "execute/");
+ File::addDefaultDirectory(_gameDataPath + "EXECUTE/");
+
+ // Detect game
if (!initGame()) {
return -1;
}
- // Checking flags
- if (getGameType() == GType_SIMON1)
- printf("Simon1 game\n");
- else if (getGameType() == GType_SIMON2)
- printf("Simon2 game\n");
-
- if (getFeatures() & GF_TALKIE)
- printf("Talkie\n");
-
if (getGameType() == GType_FF) {
_screenWidth = 640;
_screenHeight = 480;
@@ -651,10 +647,6 @@ int SimonEngine::init(GameDetector &detector) {
} else if (getGameType() == GType_SIMON1) {
if (getPlatform() == Common::kPlatformAcorn) {
gss = PTR(simon1acorn_settings);
-
- // Add default file directories
- File::addDefaultDirectory(_gameDataPath + "execute/");
- File::addDefaultDirectory(_gameDataPath + "EXECUTE/");
} else if (getPlatform() == Common::kPlatformAmiga) {
gss = PTR(simon1amiga_settings);
} else if (getGameId() == GID_SIMON1DEMO) {