diff options
author | athrxx | 2012-02-24 17:15:34 +0100 |
---|---|---|
committer | athrxx | 2012-02-24 18:09:38 +0100 |
commit | 3b574466fa3cb28c521234f5460164ade91a8d50 (patch) | |
tree | da15dff984e0f1a0065145f2b3335cfdbb5ca949 /engines/kyra | |
parent | ecd1a9f9435c5fc5d502d75dd256394b5f3283f3 (diff) | |
download | scummvm-rg350-3b574466fa3cb28c521234f5460164ade91a8d50.tar.gz scummvm-rg350-3b574466fa3cb28c521234f5460164ade91a8d50.tar.bz2 scummvm-rg350-3b574466fa3cb28c521234f5460164ade91a8d50.zip |
COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modes
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/detection_tables.h | 8 | ||||
-rw-r--r-- | engines/kyra/kyra_lok.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/detection_tables.h b/engines/kyra/detection_tables.h index 44e604c44d..204c49cd2c 100644 --- a/engines/kyra/detection_tables.h +++ b/engines/kyra/detection_tables.h @@ -297,7 +297,7 @@ const KYRAGameDescription adGameDescs[] = { Common::JA_JPN, Common::kPlatformPC98, ADGF_NO_FLAGS, - GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC98) + GUIO4(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC9821, GUIO_RENDERPC9801) }, KYRA1_TOWNS_SJIS_FLAGS }, @@ -743,7 +743,7 @@ const KYRAGameDescription adGameDescs[] = { Common::EN_ANY, Common::kPlatformPC98, ADGF_CD, - GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC98) + GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC9821) }, KYRA2_TOWNS_FLAGS }, @@ -755,7 +755,7 @@ const KYRAGameDescription adGameDescs[] = { Common::JA_JPN, Common::kPlatformPC98, ADGF_CD, - GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC98) + GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC9821) }, KYRA2_TOWNS_SJIS_FLAGS }, @@ -1418,7 +1418,7 @@ const KYRAGameDescription adGameDescs[] = { Common::JA_JPN, Common::kPlatformPC98, ADGF_NO_FLAGS, - GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC98) + GUIO3(GUIO_NOSPEECH, GUIO_MIDIPC98, GUIO_RENDERPC9801) }, LOL_PC98_SJIS_FLAGS }, diff --git a/engines/kyra/kyra_lok.cpp b/engines/kyra/kyra_lok.cpp index 1dd53901e8..4ea686ae39 100644 --- a/engines/kyra/kyra_lok.cpp +++ b/engines/kyra/kyra_lok.cpp @@ -167,7 +167,7 @@ KyraEngine_LoK::~KyraEngine_LoK() { } Common::Error KyraEngine_LoK::init() { - if (_flags.platform == Common::kPlatformPC98 && _flags.useHiRes && ConfMan.getBool("16_color")) + if (Common::parseRenderMode(ConfMan.get("render_mode")) == Common::kRenderPC9801) _screen = new Screen_LoK_16(this, _system); else _screen = new Screen_LoK(this, _system); |