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
This commit is contained in:
Eugene Sandulenko 2005-03-24 03:22:32 +00:00
parent b0a1228c43
commit 9ab0962f6d
8 changed files with 116 additions and 77 deletions

View file

@ -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];