fix black screen in some games when using 3D (zeromus check it)

This commit is contained in:
mtabachenko 2009-01-11 09:21:00 +00:00
parent 7ea5ecfb17
commit 4cb74761c4
1 changed files with 1 additions and 1 deletions

View File

@ -2519,7 +2519,7 @@ static void GPU_ligne_layer(NDS_Screen * screen, u16 l)
for(int k = start, q=0; k <= end; ++k, ++q)
if(line3Dcolor[q] & 0x8000)
gpu->setFinalColor3D(gpu, (q+ofs)<<1, dst, line3Dcolor[q], line3Dalpha[q], 0);
gpu->setFinalColor3D(gpu, (q+ofs)<<1, dst, line3Dcolor[q], line3Dalpha[q], k);
continue;
}