aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/staticres.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2007-02-12 18:01:51 +0000
committerJohannes Schickel2007-02-12 18:01:51 +0000
commit7af17382b5e85f48412b2b44733ac3d5431b31a9 (patch)
treef63cdc6932d49d25ff3ff3e6457240d2db0204f2 /engines/kyra/staticres.cpp
parent7107fcc2c693a077689a0969011e0e164f75b382 (diff)
downloadscummvm-rg350-7af17382b5e85f48412b2b44733ac3d5431b31a9.tar.gz
scummvm-rg350-7af17382b5e85f48412b2b44733ac3d5431b31a9.tar.bz2
scummvm-rg350-7af17382b5e85f48412b2b44733ac3d5431b31a9.zip
Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, modified a bit)
svn-id: r25530
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r--engines/kyra/staticres.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index 4d4e8811f6..32226d330e 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -31,7 +31,7 @@
namespace Kyra {
-#define RESFILE_VERSION 15
+#define RESFILE_VERSION 16
bool StaticResource::checkKyraDat() {
Common::File kyraDat;
@@ -235,7 +235,7 @@ bool StaticResource::init() {
delete [] temp;
temp = 0;
- if (version < RESFILE_VERSION) {
+ if (version != RESFILE_VERSION) {
error("invalid KYRA.DAT file version (%d, required %d)", version, RESFILE_VERSION);
}
if (gameID != _engine->game()) {
@@ -840,7 +840,7 @@ void KyraEngine::loadMainScreen(int page) {
if (_flags.lang == Common::EN_ANY && !_flags.isTalkie && _flags.platform == Common::kPlatformPC)
_screen->loadBitmap("MAIN15.CPS", page, page, 0);
- else if (_flags.lang == Common::EN_ANY)
+ else if (_flags.lang == Common::EN_ANY || _flags.lang == Common::JA_JPN)
_screen->loadBitmap("MAIN_ENG.CPS", page, page, 0);
else if (_flags.lang == Common::FR_FRA)
_screen->loadBitmap("MAIN_FRE.CPS", page, page, 0);