diff options
author | Johannes Schickel | 2008-04-08 18:52:27 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-08 18:52:27 +0000 |
commit | 50c373247843370e622fde6b2b869f050465d0d4 (patch) | |
tree | 84f0212dbed2d492a969b32f8f9a8a476959ab44 /engines/kyra/detection.cpp | |
parent | e4ddd5d5f1bc52a7fb3d82a6858ad3578f312663 (diff) | |
download | scummvm-rg350-50c373247843370e622fde6b2b869f050465d0d4.tar.gz scummvm-rg350-50c373247843370e622fde6b2b869f050465d0d4.tar.bz2 scummvm-rg350-50c373247843370e622fde6b2b869f050465d0d4.zip |
- Set language to Common::UNK_LANG for multilanguage games (kyra2cd and kyra3) in detection code
- Save language changes done in menu in HoF to the config file
svn-id: r31454
Diffstat (limited to 'engines/kyra/detection.cpp')
-rw-r--r-- | engines/kyra/detection.cpp | 51 |
1 files changed, 5 insertions, 46 deletions
diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp index 3818990ecc..b814d75924 100644 --- a/engines/kyra/detection.cpp +++ b/engines/kyra/detection.cpp @@ -301,29 +301,7 @@ const KYRAGameDescription adGameDescs[] = { "kyra2", "CD", AD_ENTRY1("FATE.PAK", "28cbad1c5bf06b2d3825ae57d760d032"), - Common::EN_ANY, - Common::kPlatformPC, - Common::ADGF_NO_FLAGS - }, - KYRA2_CD_FLAGS - }, - { - { - "kyra2", - "CD", - AD_ENTRY1("FATE.PAK", "28cbad1c5bf06b2d3825ae57d760d032"), - Common::DE_DEU, - Common::kPlatformPC, - Common::ADGF_NO_FLAGS - }, - KYRA2_CD_FLAGS - }, - { - { - "kyra2", - "CD", - AD_ENTRY1("FATE.PAK", "28cbad1c5bf06b2d3825ae57d760d032"), - Common::FR_FRA, + Common::UNK_LANG, Common::kPlatformPC, Common::ADGF_NO_FLAGS }, @@ -382,29 +360,7 @@ const KYRAGameDescription adGameDescs[] = { "kyra3", 0, AD_ENTRY1("ONETIME.PAK", "3833ff312757b8e6147f464cca0a6587"), - Common::EN_ANY, - Common::kPlatformPC, - Common::ADGF_NO_FLAGS - }, - KYRA3_CD_FLAGS - }, - { - { - "kyra3", - 0, - AD_ENTRY1("ONETIME.PAK", "3833ff312757b8e6147f464cca0a6587"), - Common::DE_DEU, - Common::kPlatformPC, - Common::ADGF_NO_FLAGS - }, - KYRA3_CD_FLAGS - }, - { - { - "kyra3", - 0, - AD_ENTRY1("ONETIME.PAK", "3833ff312757b8e6147f464cca0a6587"), - Common::FR_FRA, + Common::UNK_LANG, Common::kPlatformPC, Common::ADGF_NO_FLAGS }, @@ -480,6 +436,9 @@ bool KyraMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common flags.lang = Common::EN_ANY; } + if (flags.lang == Common::EN_USA || flags.lang == Common::EN_GRB) + flags.lang = Common::EN_ANY; + switch (flags.gameID) { case Kyra::GI_KYRA1: *engine = new Kyra::KyraEngine_v1(syst, flags); |