aboutsummaryrefslogtreecommitdiff
path: root/common/util.cpp
diff options
context:
space:
mode:
authorathrxx2012-02-24 17:15:34 +0100
committerathrxx2012-02-24 18:09:38 +0100
commit3b574466fa3cb28c521234f5460164ade91a8d50 (patch)
treeda15dff984e0f1a0065145f2b3335cfdbb5ca949 /common/util.cpp
parentecd1a9f9435c5fc5d502d75dd256394b5f3283f3 (diff)
downloadscummvm-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 'common/util.cpp')
-rw-r--r--common/util.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/util.cpp b/common/util.cpp
index 05d29fac94..5911f9b1a4 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -289,7 +289,8 @@ const RenderModeDescription g_renderModes[] = {
{ "vga", "VGA", kRenderVGA },
{ "amiga", "Amiga", kRenderAmiga },
{ "fmtowns", "FM-Towns", kRenderFMTowns },
- { "pc98", "PC-98", kRenderPC98 },
+ { "pc9821", "PC-9821 (256 Colors)", kRenderPC9821 },
+ { "pc9801", "PC-9801 (16 Colors)", kRenderPC9801 },
{0, 0, kRenderDefault}
};
@@ -361,7 +362,8 @@ const struct GameOpt {
{ GUIO_RENDERVGA, "vga" },
{ GUIO_RENDERAMIGA, "amiga" },
{ GUIO_RENDERFMTOWNS, "fmtowns" },
- { GUIO_RENDERPC98, "pc98" },
+ { GUIO_RENDERPC9821, "pc9821" },
+ { GUIO_RENDERPC9801, "pc9801" },
{ GUIO_NONE, 0 }
};