diff options
author | Florian Kagerer | 2009-10-13 19:48:41 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-10-13 19:48:41 +0000 |
commit | 73fa80d94088cfac87f4302112bff5c3b2fb9754 (patch) | |
tree | f779d6a429d41df0d55235cb41f874046f2c9605 /engines/kyra/lol.cpp | |
parent | 94cd10297406f4b57d6d0d38a3ac3be18311f22b (diff) | |
download | scummvm-rg350-73fa80d94088cfac87f4302112bff5c3b2fb9754.tar.gz scummvm-rg350-73fa80d94088cfac87f4302112bff5c3b2fb9754.tar.bz2 scummvm-rg350-73fa80d94088cfac87f4302112bff5c3b2fb9754.zip |
LOL/PC-98: fixed outro
svn-id: r45046
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r-- | engines/kyra/lol.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index 63b0e63f62..9f50da5d50 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -1761,10 +1761,12 @@ void LoLEngine::createGfxTables() { Palette tpal(256); if (_flags.use16ColorMode) { static const uint8 colTbl[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; - uint8 *p = _screen->getPalette(0).getData(); - tpal.fill(0, 256, 0xff); + uint8 *p = _screen->getPalette(0).getData(); uint8 *d = tpal.getData(); + + _res->loadFileToBuf("LOL.NOL", p, 48); + for (int i = 15; i >= 0; i--) { d[colTbl[i] * 3 + 2] = p[i * 3 + 2]; d[colTbl[i] * 3 + 1] = p[i * 3 + 1]; @@ -1772,7 +1774,7 @@ void LoLEngine::createGfxTables() { } _screen->generateTruelightTables(colTbl, 16, tpal, tpal, _trueLightTable1, _trueLightTable2, 80); - _screen->loadPalette("lol.nol", _screen->getPalette(0)); + _screen->loadPalette("LOL.NOL", _screen->getPalette(0)); } else { _screen->loadPalette("fxpal.col", tpal); _screen->loadBitmap("fxpal.shp", 3, 3, 0); |