From 6e4af3f8b063f73cb6d7887d720bc89becd75785 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 22 Apr 2010 20:45:12 +0000 Subject: [PATCH] rasterize: edge mark colors were too dark --- desmume/src/rasterize.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desmume/src/rasterize.cpp b/desmume/src/rasterize.cpp index 8b2211206..3cfc85765 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -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);