From 2469ecb4198a7c55cd58a5cf5c6a4ef4f0f7f1f9 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 20 Jun 2013 15:49:07 +0000 Subject: [PATCH] change something about edge marking which made no sense to me, re: picross edge marking #1301. if we can find more evidence about this topic, write it in the comments --- desmume/src/rasterize.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/desmume/src/rasterize.cpp b/desmume/src/rasterize.cpp index c7cde76d5..5183df50a 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -1368,8 +1368,10 @@ void SoftRasterizerEngine::framebufferProcess() 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); + //zero 20-jun-2013 - this doesnt make any sense. at least, it should be related to the 0x8000 bit. if this is undocumented behaviour, lets write about which scenario proves it here, or which scenario is requiring this code. + //// this seems to be the only thing that selectively disables edge marking + //edgeMarkDisabled[i] = (col == 0x7FFF); + edgeMarkDisabled[i] = false; } for(int i=0,y=0;y<192;y++)