diff options
author | Eugene Sandulenko | 2005-03-24 03:22:32 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-03-24 03:22:32 +0000 |
commit | 9ab0962f6de96fb28dd7ee6b1589fb1b343dda7a (patch) | |
tree | 4468cc52c76f506216933126c28fbf47176f6a84 /scumm/cursor.cpp | |
parent | b0a1228c439a1fbca682af4f4f87a9cb44cdbc69 (diff) | |
download | scummvm-rg350-9ab0962f6de96fb28dd7ee6b1589fb1b343dda7a.tar.gz scummvm-rg350-9ab0962f6de96fb28dd7ee6b1589fb1b343dda7a.tar.bz2 scummvm-rg350-9ab0962f6de96fb28dd7ee6b1589fb1b343dda7a.zip |
Lots of MM NES changes from Quietust and me
o Swap palette entries 0x00 and 0x1D in all necessary places. This gets
rid of gray background
o added a function NES_loadCostumeSet(int n) in order to do #1 for sprites
o Widen screen to 256 pixels and center narrow rooms in it
o Partial fix for subtitle rendering, now at least first line is
rendered with identation
svn-id: r17212
Diffstat (limited to 'scumm/cursor.cpp')
-rw-r--r-- | scumm/cursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/cursor.cpp b/scumm/cursor.cpp index 7a87c5d3a3..9d025c6e60 100644 --- a/scumm/cursor.cpp +++ b/scumm/cursor.cpp @@ -343,8 +343,8 @@ void ScummEngine_v5::setBuiltinCursor(int idx) { _cursor.hotspotY = 0; byte *dst = _grabbedCursor; - byte *src = &_NESCostumeGfx[0][0xfa * 16]; - byte *palette = getResourceAddress(rtCostume, 35) + 2; + byte *src = &_NESPatTable[0][0xfa * 16]; + byte *palette = _NESPalette[1]; for (i = 0; i < 8; i++) { byte c0 = src[i]; |