From b6eb1af47b257554d44b27ccf1cd85f16ae9c35f Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Wed, 21 Aug 2013 01:18:30 +1200 Subject: [PATCH] Now Compiles on Visual Studio. Fixed a PEBCAK issue where a developer was commiting things to git without checking they actually fixed the issues causing buildbot to fail. --- Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp index b6aa9349ac..26c48bdd3d 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp @@ -514,8 +514,13 @@ namespace EfbInterface yuv444 scanline[640+2]; // our internal yuv444 type is not normalized, so black is {0, 0, 0} instead of {16, 128, 128} - scanline[0] = {0, 0, 0}; // black border at start - scanline[right+1] = {0, 0, 0}; // black border at end + yuv444 black; + black.Y = 0; + black.U = 0; + black.V = 0; + + scanline[0] = black; // black border at start + scanline[right+1] = black; // black border at end for (u16 y = sourceRc.top; y < sourceRc.bottom; y++) {