From 76ef976bb5ebe047f77df9a350c901aeb76e04f6 Mon Sep 17 00:00:00 2001 From: shashclp Date: Fri, 9 Feb 2007 05:37:12 +0000 Subject: [PATCH] - Fixed master brightness, as it got copied from GPU.h wrong (Please don't move AND modify code across files in the same commit, so we can avoid this bugs easier) --- desmume/src/GPU.c | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/GPU.c b/desmume/src/GPU.c index 774b0f9c4..7b7599484 100644 --- a/desmume/src/GPU.c +++ b/desmume/src/GPU.c @@ -1807,6 +1807,7 @@ void GPU_ligne(NDS_Screen * screen, u16 l) { #ifndef BRIGHT_TABLES u8 r,g,b; + dstColor.val = T1ReadWord(dst, i16 << 1); r = dstColor.bits.red; g = dstColor.bits.green; b = dstColor.bits.blue;