From ee83b594646e7b686e55e8cad5ae32b4deacfd15 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 3 Feb 2013 18:15:15 +0000 Subject: [PATCH] Having colors equal to themselves in the XOR table is not a good idea. Reintroduce a bit of scrambling again. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2051 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows.c b/src/windows.c index 08a5e80f..cb6db61b 100644 --- a/src/windows.c +++ b/src/windows.c @@ -2972,7 +2972,7 @@ static void compute_xor_table() // Initialize the table with some "random" values for(i = 0; i < 256; i++) { - xor_lut[i] = i; + xor_lut[i] = i ^ 1; } do {