aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-25 22:25:40 +0000
committerEugene Sandulenko2005-03-25 22:25:40 +0000
commit1805fe768632aaf6d838b029fe60e736345a70c5 (patch)
treecd8a7283c04a174d40b5901688daaf8ee369d4fd
parenta9c2e6ecbfdc6be61c86e6ac9cb05e232f7e7d43 (diff)
downloadscummvm-rg350-1805fe768632aaf6d838b029fe60e736345a70c5.tar.gz
scummvm-rg350-1805fe768632aaf6d838b029fe60e736345a70c5.tar.bz2
scummvm-rg350-1805fe768632aaf6d838b029fe60e736345a70c5.zip
Accidentally commented out NES palette changing code. Fixing that.
svn-id: r17233
-rw-r--r--scumm/gfx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 5ce9a8008d..3ab4d6f05a 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1876,10 +1876,10 @@ void ScummEngine::NES_loadCostumeSet(int n) {
byte *palette = getResourceAddress(rtCostume, v1MMNEScostTables[n][5]) + 2;
for (i = 0; i < 16; i++) {
byte c = *palette++;
- //if (c == 0x1D) // HACK - switch around colors 0x00 and 0x1D
- // c = 0; // so we don't need a zillion extra checks
- //else if (c == 0)// for determining the proper background color
- // c = 0x1D;
+ if (c == 0x1D) // HACK - switch around colors 0x00 and 0x1D
+ c = 0; // so we don't need a zillion extra checks
+ else if (c == 0)// for determining the proper background color
+ c = 0x1D;
_NESPalette[1][i] = c;
}