From 6460511603b2c780ec8fbf5f46418f503254578b Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 30 Mar 2009 08:31:30 +0000 Subject: Add GF_EGA feature flag for PN, to allow easier support of PC VGA version in future. svn-id: r39753 --- engines/agos/vga.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/agos/vga.cpp') diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index c998300f5e..3d85406afd 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -924,8 +924,8 @@ void AGOSEngine::vc22_setPaletteOld() { b = vcReadNextWord(); - // PC version of Personal Nightmare uses standard EGA palette - if (getGameType() == GType_PN && getPlatform() == Common::kPlatformPC) + // PC EGA version of Personal Nightmare uses standard EGA palette + if (getGameType() == GType_PN && (getFeatures() & GF_EGA)) return; num = 16; @@ -1298,8 +1298,8 @@ void AGOSEngine::vc37_pokePalette() { uint16 offs = vcReadNextWord(); uint16 color = vcReadNextWord(); - // PC version of Personal Nightmare uses standard EGA palette - if (getGameType() == GType_PN && getPlatform() == Common::kPlatformPC) + // PC EGA version of Personal Nightmare uses standard EGA palette + if (getGameType() == GType_PN && (getFeatures() & GF_EGA)) return; byte *palptr = _displayPalette + offs * 4; -- cgit v1.2.3