diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2011-02-03 19:55:30 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2011-02-03 19:55:30 +0000 |
| commit | 1619e176ff70ad8b47a6dd4fcb4b8721e0c528bf (patch) | |
| tree | 5fc7e5a33ddf48896b87b368c3cd98e28e9ae2e0 /Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp | |
| parent | 439baff4ccec3074d09da35897b87205b3990cac (diff) | |
Use brute force to link the software plugin.
Not yet functional.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7050 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp index abbe4b4a35..cbeb3d7857 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/EfbInterface.cpp @@ -20,7 +20,7 @@ #include "EfbInterface.h" #include "BPMemLoader.h" #include "../../../Core/VideoCommon/Src/LookUpTables.h" -#include "PixelEngine.h" +#include "SWPixelEngine.h" u8 efb[EFB_WIDTH*EFB_HEIGHT*6]; @@ -434,10 +434,10 @@ namespace EfbInterface SetPixelAlphaOnly(offset, dstClrPtr[ALP_C]); // branchless bounding box update - PixelEngine::pereg.boxLeft = PixelEngine::pereg.boxLeft>x?x:PixelEngine::pereg.boxLeft; - PixelEngine::pereg.boxRight = PixelEngine::pereg.boxRight<x?x:PixelEngine::pereg.boxRight; - PixelEngine::pereg.boxTop = PixelEngine::pereg.boxTop>y?y:PixelEngine::pereg.boxTop; - PixelEngine::pereg.boxBottom = PixelEngine::pereg.boxBottom<y?y:PixelEngine::pereg.boxBottom; + SWPixelEngine::pereg.boxLeft = SWPixelEngine::pereg.boxLeft>x?x:SWPixelEngine::pereg.boxLeft; + SWPixelEngine::pereg.boxRight = SWPixelEngine::pereg.boxRight<x?x:SWPixelEngine::pereg.boxRight; + SWPixelEngine::pereg.boxTop = SWPixelEngine::pereg.boxTop>y?y:SWPixelEngine::pereg.boxTop; + SWPixelEngine::pereg.boxBottom = SWPixelEngine::pereg.boxBottom<y?y:SWPixelEngine::pereg.boxBottom; } void SetColor(u16 x, u16 y, u8 *color) |
