1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-16 12:02:50 +00:00

ZAPD hotfix (#599)

* change parent

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "440ed2684"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "440ed2684"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"
This commit is contained in:
fig02 2021-01-03 17:29:44 -05:00 committed by GitHub
parent 2b346a1f6a
commit 794538f6f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -348,9 +348,9 @@ void ZTexture::PrepareBitmapPalette4()
else
paletteIndex = (uint8_t)((rawData[pos] & 0x0F));
bmpRgb[(((y * width) + x) * 3) + 0] = paletteIndex * 16;
bmpRgb[(((y * width) + x) * 3) + 1] = paletteIndex * 16;
bmpRgb[(((y * width) + x) * 3) + 2] = paletteIndex * 16;
bmpRgb[(((y * width) + x + i) * 3) + 0] = paletteIndex * 16;
bmpRgb[(((y * width) + x + i) * 3) + 1] = paletteIndex * 16;
bmpRgb[(((y * width) + x + i) * 3) + 2] = paletteIndex * 16;
}
}
}