From 8413ed00db595564d663ea42e98d3211c11fdf51 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Sun, 13 Mar 2011 02:28:11 +0000 Subject: [PATCH] NES PPU - fix pattern colors --- BizHawk.MultiClient/NEStools/NESPPU.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BizHawk.MultiClient/NEStools/NESPPU.cs b/BizHawk.MultiClient/NEStools/NESPPU.cs index 9843f759c0..0f95183ae7 100644 --- a/BizHawk.MultiClient/NEStools/NESPPU.cs +++ b/BizHawk.MultiClient/NEStools/NESPPU.cs @@ -91,10 +91,10 @@ namespace BizHawk.MultiClient Bit b2 = new Bit(); Bit b3 = new Bit(); //2nd page of patterns - b0 = GetBit((i * 256) + (j * 16) + y + b0 * 8, x); - b1 = GetBit((i * 256) + (j * 16) + y + b1 * 8, x); - b2 = GetBit(0x1000 + (i * 256) + (j * 16) + y + b2 * 8, x); - b3 = GetBit(0x1000 + (i * 256) + (j * 16) + y + b3 * 8, x); + b0 = GetBit((i * 256) + (j * 16) + y + 0 * 8, x); + b1 = GetBit((i * 256) + (j * 16) + y + 1 * 8, x); + b2 = GetBit(0x1000 + (i * 256) + (j * 16) + y + 0 * 8, x); + b3 = GetBit(0x1000 + (i * 256) + (j * 16) + y + 1 * 8, x); byte value = (byte)(b0 + (b1 << 1)); byte value2 = (byte)(b2 + (b3 << 1));