diff options
author | Max Horn | 2003-10-12 18:40:12 +0000 |
---|---|---|
committer | Max Horn | 2003-10-12 18:40:12 +0000 |
commit | 36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c (patch) | |
tree | c7d0ddca69492d7db124a6c9ea4728e59faba071 /sword2 | |
parent | c3f4bbf34fe5192fe5bccd87c4319a42e1109422 (diff) | |
download | scummvm-rg350-36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c.tar.gz scummvm-rg350-36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c.tar.bz2 scummvm-rg350-36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c.zip |
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
svn-id: r10766
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/sword2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp index b8b81e3609..3e7491261d 100644 --- a/sword2/sword2.cpp +++ b/sword2/sword2.cpp @@ -48,7 +48,7 @@ extern uint16 _debugLevel; -static const TargetSettings sword2_settings[] = { +static const GameSettings sword2_settings[] = { /* Broken Sword 2 */ {"sword2", "Broken Sword II", GID_SWORD2, 99, MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER, "players.clu" }, {"sword2alt", "Broken Sword II (alt)", GID_SWORD2, 99, MDT_ADLIB | MDT_NATIVE, GF_DEFAULT_TO_1X_SCALER, "r2ctlns.ocx" }, @@ -56,7 +56,7 @@ static const TargetSettings sword2_settings[] = { {NULL, NULL, 0, 0, MDT_NONE, 0, NULL} }; -const TargetSettings *Engine_SWORD2_targetList() { +const GameSettings *Engine_SWORD2_targetList() { return sword2_settings; } @@ -104,7 +104,7 @@ Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst) g_sword2 = this; _features = detector->_game.features; _gameId = detector->_game.id; - _gameName = strdup(detector->_gameFileName.c_str()); + _gameName = strdup(detector->_targetName.c_str()); _bootParam = ConfMan.getInt("boot_param"); _saveSlot = ConfMan.getInt("save_slot"); _debugLevel = ConfMan.getInt("debuglevel"); |