From c0d4c9ec3ae39727f90051115dd763629acd94c0 Mon Sep 17 00:00:00 2001 From: saxxonpike <saxxonpike@gmail.com> Date: Fri, 9 Nov 2012 16:44:15 +0000 Subject: [PATCH] commodore64: fix sprite-data collision --- BizHawk.Emulation/Computers/Commodore64/VicII.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation/Computers/Commodore64/VicII.cs b/BizHawk.Emulation/Computers/Commodore64/VicII.cs index 0c37f5849e..8a9184c3b5 100644 --- a/BizHawk.Emulation/Computers/Commodore64/VicII.cs +++ b/BizHawk.Emulation/Computers/Commodore64/VicII.cs @@ -979,7 +979,7 @@ namespace BizHawk.Emulation.Computers.Commodore64 regs.MxM[j] = true; regs.IMMC = true; } - if (dataForeground) + if (pixelBufferForeground[pixelBufferIndex]) { regs.MxD[j] = true; regs.IMBC = true;