aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-05-11 12:15:45 +0200
committerStrangerke2013-05-11 12:15:45 +0200
commit5d546d41031425e333b399b2510e8ada74fa1ee2 (patch)
tree8631b30144536b8f19c0b10e6bb70482b5c8382f /engines
parent4e3c821acf0dcaa9f2cca2fc90085d4ca8c5449a (diff)
downloadscummvm-rg350-5d546d41031425e333b399b2510e8ada74fa1ee2.tar.gz
scummvm-rg350-5d546d41031425e333b399b2510e8ada74fa1ee2.tar.bz2
scummvm-rg350-5d546d41031425e333b399b2510e8ada74fa1ee2.zip
HOPKINS: Fix bug #3613068 - Detection of Hopkins Russian
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/detection_tables.h18
-rw-r--r--engines/hopkins/globals.cpp2
2 files changed, 19 insertions, 1 deletions
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},
@@ -171,6 +171,22 @@ static const HopkinsGameDescription gameDescriptions[] = {
},
},
{
+ // 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
{
"hopkins",
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: