diff options
author | Eugene Sandulenko | 2006-03-25 19:18:09 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-03-25 19:18:09 +0000 |
commit | f25d49f826b7ddfd9ce96beca6f0b0a0a6d82a00 (patch) | |
tree | 08c8f04fdf2d9967f6d56da3e3c8a80b539975e7 /engines | |
parent | ef6baca2ac40bc4652bba9a791db96ca07b2a6a9 (diff) | |
download | scummvm-rg350-f25d49f826b7ddfd9ce96beca6f0b0a0a6d82a00.tar.gz scummvm-rg350-f25d49f826b7ddfd9ce96beca6f0b0a0a6d82a00.tar.bz2 scummvm-rg350-f25d49f826b7ddfd9ce96beca6f0b0a0a6d82a00.zip |
- Move AddDefaultDirectory() calls in somon engine to constructor
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp
svn-id: r21451
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/simon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index ab4dfb3d53..93e5a7f563 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -453,9 +453,6 @@ SimonEngine::SimonEngine(OSystem *syst) memcpy (_hebrew_char_widths, "\x5\x5\x4\x6\x5\x3\x4\x5\x6\x3\x5\x5\x4\x6\x5\x3\x4\x6\x5\x6\x6\x6\x5\x5\x5\x6\x5\x6\x6\x6\x6\x6", 32); -} - -int SimonEngine::init(GameDetector &detector) { // Add default file directories for Acorn version File::addDefaultDirectory(_gameDataPath + "execute/"); @@ -471,6 +468,9 @@ int SimonEngine::init(GameDetector &detector) { File::addDefaultDirectory(_gameDataPath + "SFX/"); File::addDefaultDirectory(_gameDataPath + "speech/"); File::addDefaultDirectory(_gameDataPath + "SPEECH/"); +} + +int SimonEngine::init(GameDetector &detector) { // Detect game if (!initGame()) { |