From 2ac6e00def539a8fbac76c1bdef94400e2dc3d55 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 25 Feb 2009 09:58:14 +0000 Subject: [PATCH] also ifdef my debugging code which only works on windows --- desmume/src/rasterize.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/rasterize.cpp b/desmume/src/rasterize.cpp index 78d358163..515d0d931 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -298,6 +298,7 @@ struct Shader dst.color.components.g = modulate_table[texColor.components.g][materialColor.components.g]; dst.color.components.b = modulate_table[texColor.components.b][materialColor.components.b]; dst.color.components.a = modulate_table[texColor.components.a][materialColor.components.a]; + #ifdef _MSC_VER if(GetAsyncKeyState(VK_SHIFT)) { //debugging tricks dst.color = materialColor; @@ -307,6 +308,7 @@ struct Shader dst.color.components.a = alpha; } } + #endif break; case 1: //decal u = invu/invw;