diff --git a/BizHawk.Emulation/Computers/Commodore64/VicIINewPipeline.cs b/BizHawk.Emulation/Computers/Commodore64/VicIINewPipeline.cs index e6ea7e1554..a13f2ad1d3 100644 --- a/BizHawk.Emulation/Computers/Commodore64/VicIINewPipeline.cs +++ b/BizHawk.Emulation/Computers/Commodore64/VicIINewPipeline.cs @@ -1312,10 +1312,16 @@ namespace BizHawk.Emulation.Computers.Commodore64 if (borderOnMain || borderOnVertical) pixel = EC; else - pixel = ( - (spriteData == 0) || - ((spriteData != 0) && (spritePriority = true) && (plotterDataBuffer[plotterBufferIndex] >= 0x2))) - ? plotterPixelBuffer[plotterBufferIndex] : spritePixel; + { + if ((spriteData == 0) || (spritePriority == true && plotterDataBuffer[plotterBufferIndex] >= 0x2)) + { + pixel = plotterPixelBuffer[plotterBufferIndex]; + } + else + { + pixel = spritePixel; + } + } PipelineWritePixel(pixel);