diff options
author | Travis Howell | 2009-03-30 08:31:30 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-30 08:31:30 +0000 |
commit | 6460511603b2c780ec8fbf5f46418f503254578b (patch) | |
tree | 795c3d9e09e10479c18b475947932862b014793e /engines/agos/vga.cpp | |
parent | dd32b974e4aef065907311632d4f009bef2efba6 (diff) | |
download | scummvm-rg350-6460511603b2c780ec8fbf5f46418f503254578b.tar.gz scummvm-rg350-6460511603b2c780ec8fbf5f46418f503254578b.tar.bz2 scummvm-rg350-6460511603b2c780ec8fbf5f46418f503254578b.zip |
Add GF_EGA feature flag for PN, to allow easier support of PC VGA version in future.
svn-id: r39753
Diffstat (limited to 'engines/agos/vga.cpp')
-rw-r--r-- | engines/agos/vga.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |