Add GF_EGA feature flag for PN, to allow easier support of PC VGA version in future.

svn-id: r39753
This commit is contained in:
Travis Howell 2009-03-30 08:31:30 +00:00
parent dd32b974e4
commit 6460511603
4 changed files with 10 additions and 9 deletions

View file

@ -128,7 +128,7 @@ Common::Error AGOSEngine_PN::go() {
addVgaEvent(_frameCount, ANIMATE_INT, NULL, 0, 0);
if (getPlatform() == Common::kPlatformPC) {
if (getFeatures() & GF_EGA) {
// Set EGA Palette
for (int i = 0; i < 16; i++) {
_displayPalette[i * 4 + 0] = egaPalette[i * 3 + 0];