From 5d546d41031425e333b399b2510e8ada74fa1ee2 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 11 May 2013 12:15:45 +0200 Subject: HOPKINS: Fix bug #3613068 - Detection of Hopkins Russian --- engines/hopkins/detection_tables.h | 18 +++++++++++++++++- engines/hopkins/globals.cpp | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/hopkins/detection_tables.h b/engines/hopkins/detection_tables.h index 8f0f104cdd..3e04375fe9 100644 --- a/engines/hopkins/detection_tables.h +++ b/engines/hopkins/detection_tables.h @@ -158,7 +158,7 @@ static const HopkinsGameDescription gameDescriptions[] = { // Hopkins FBI Win95 EN, provided by greencis in bug #3612406 { "hopkins", - 0, + 0, { {"hopkins.exe", 0, "020690049fa1dfcd63a18fdafb139a0e", 421386}, {"RES_VAN.RES", 0, "f1693ac0b0859c8ecd8cb30ff43cf55f", 38296346}, @@ -170,6 +170,22 @@ static const HopkinsGameDescription gameDescriptions[] = { GUIO1(GUIO_NONE) }, }, + { + // Hopkins FBI Win95 RU, provided by greencis in bug #3613068 + { + "hopkins", + 0, + { + {"hopkins.exe", 0, "3043fef0bd3bfeba8252647cd090ce09", 419281}, + {"res_van.res", 0, "bf17c710e184a25a6c8e9d1d9503c38e", 32197685}, + AD_LISTEND + }, + Common::RU_RUS, + Common::kPlatformWindows, + ADGF_NO_FLAGS, + GUIO1(GUIO_NONE) + }, + }, { // Hopkins FBI Linux, provided by Strangerke { diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index 9b61e0464b..28f22ed99e 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -134,9 +134,11 @@ Globals::~Globals() { void Globals::setConfig() { // CHECKME: Should be in Globals() but it doesn't work // The Polish version is a translation of the English version. The filenames are the same. + // The Russian version looks like a translation of the English version, based on the filenames. switch (_vm->getLanguage()) { case Common::EN_ANY: case Common::PL_POL: + case Common::RU_RUS: _language = LANG_EN; break; case Common::FR_FRA: -- cgit v1.2.3