diff options
author | Strangerke | 2013-07-22 10:42:02 +0200 |
---|---|---|
committer | Strangerke | 2013-07-22 10:42:02 +0200 |
commit | b481096d87d3a24cc8c0e0e3a6c0cf60e2d55e8a (patch) | |
tree | 9756ba80b3a622c2a3f9aa91bfe4ffac453ea73e /engines/mortevielle/utils.cpp | |
parent | 6d2d0680a94dd47f55b94dcef8c40c1d06dd9f1d (diff) | |
download | scummvm-rg350-b481096d87d3a24cc8c0e0e3a6c0cf60e2d55e8a.tar.gz scummvm-rg350-b481096d87d3a24cc8c0e0e3a6c0cf60e2d55e8a.tar.bz2 scummvm-rg350-b481096d87d3a24cc8c0e0e3a6c0cf60e2d55e8a.zip |
MORTEVIELLE: Use kAdrPictureComp in displayCGAPattern
Diffstat (limited to 'engines/mortevielle/utils.cpp')
-rw-r--r-- | engines/mortevielle/utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp index a23c444b2e..33f9b9b64e 100644 --- a/engines/mortevielle/utils.cpp +++ b/engines/mortevielle/utils.cpp @@ -2026,12 +2026,12 @@ void MortevielleEngine::setPal(int n) { void MortevielleEngine::displayCGAPattern(int n, Pattern p, nhom *pal) { int addr = n * 404 + 0xd700; - WRITE_LE_UINT16(&_mem[(kAdrPictureDecomp * 16) + addr], p._tax); - WRITE_LE_UINT16(&_mem[(kAdrPictureDecomp * 16) + addr + 2], p._tay); + WRITE_LE_UINT16(&_mem[(kAdrPictureComp * 16) + addr], p._tax); + WRITE_LE_UINT16(&_mem[(kAdrPictureComp * 16) + addr + 2], p._tay); addr += 4; for (int i = 0; i < p._tax; ++i) { for (int j = 0; j < p._tay; ++j) - _mem[(kAdrPictureDecomp * 16) + addr + j * p._tax + i] = pal[n]._hom[p._des[i + 1][j + 1]]; + _mem[(kAdrPictureComp * 16) + addr + j * p._tax + i] = pal[n]._hom[p._des[i + 1][j + 1]]; } } |