rasterize: edge mark colors were too dark

This commit is contained in:
zeromus 2010-04-22 20:45:12 +00:00
parent e8bd687f08
commit 6e4af3f8b0
1 changed files with 4 additions and 1 deletions

View File

@ -1246,7 +1246,10 @@ void SoftRasterizerEngine::framebufferProcess()
for(int i=0;i<8;i++)
{
u16 col = T1ReadWord(MMU.MMU_MEM[ARMCPU_ARM9][0x40], 0x330+i*2);
edgeMarkColors[i].color = RGB15TO5555(col,0x0F);
edgeMarkColors[i].color = RGB15TO5555(col,0x1F);
edgeMarkColors[i].r = GFX3D_5TO6(edgeMarkColors[i].r);
edgeMarkColors[i].g = GFX3D_5TO6(edgeMarkColors[i].g);
edgeMarkColors[i].b = GFX3D_5TO6(edgeMarkColors[i].b);
// this seems to be the only thing that selectively disables edge marking
edgeMarkDisabled[i] = (col == 0x7FFF);