From e41eabcfc379194ef0afa8847217d2f35c24b54e Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 16 Apr 2012 22:56:30 +0000 Subject: [PATCH] fix atarihawk video --- BizHawk.Emulation/Consoles/Atari/2600/TIA.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Atari/2600/TIA.cs b/BizHawk.Emulation/Consoles/Atari/2600/TIA.cs index 5a914d79a6..7eb13b0250 100644 --- a/BizHawk.Emulation/Consoles/Atari/2600/TIA.cs +++ b/BizHawk.Emulation/Consoles/Atari/2600/TIA.cs @@ -783,11 +783,11 @@ namespace BizHawk.Emulation.Consoles.Atari { if (scanlinesBuffer.Count > row) { - frameBuffer[row * 320 + col] = (int)(scanlinesBuffer[row][col / 2]); + frameBuffer[row * 320 + col] = (int)(scanlinesBuffer[row][col / 2] | 0xFF000000); } else { - frameBuffer[row * 320 + col] = 0x000000; + frameBuffer[row * 320 + col] = unchecked((int)0xFF000000); } } }