summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2013-08-21 01:18:30 +1200
committerScott Mansell <phiren@gmail.com>2013-08-21 01:18:30 +1200
commitb6eb1af47b257554d44b27ccf1cd85f16ae9c35f (patch)
tree0da465ae129ad9e975d8880c6e91b5fd1c9bfaa6 /Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp
parent71cc490969268aeba10bad0e012007cd6ac27d35 (diff)
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.
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp9
1 files 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++)
{