From 3ceb4ea890432c9436083f54a5b555e533e76fa2 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 17 Mar 2011 04:21:40 +0000 Subject: [PATCH] [NES] add alpha bits to video provider --- BizHawk.Emulation/Consoles/Nintendo/NES/NES.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/NES.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/NES.cs index 44b2c32f1e..5ddf1012dd 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/NES.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/NES.cs @@ -131,7 +131,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo for (int x = 0; x < 256; x++) { int pixel = emu.ppu.xbuf[i]; - pixels[i] = emu.CompleteDecodeColor(pixel); + pixels[i] = unchecked(emu.CompleteDecodeColor(pixel) | (int)0xFF000000); i++; } return pixels;