let it build on msvc

supposedly for the original XBox?
This commit is contained in:
notaz 2017-10-14 21:28:24 +03:00
parent adb98333d7
commit 24aab4da73
8 changed files with 84 additions and 44 deletions

View file

@ -292,7 +292,7 @@ void PicoDraw32xLayerMdOnly(int offs, int lines)
for (l = 0; l < lines; l++) {
if (have_scan) {
PicoScan32xBegin(l + offs);
dst = Pico.est.DrawLineDest + poffs;
dst = (unsigned short *)Pico.est.DrawLineDest + poffs;
}
for (p = 0; p < plen; p += 4) {
dst[p + 0] = pal[*pmd++];