diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2010-12-05 16:15:01 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2010-12-05 16:15:01 +0000 |
| commit | 5910ef259c427e62c72fbe24cc7db0da87244b3a (patch) | |
| tree | 438dd7259384635838d1f192af4d140db901095b /Source/Core | |
| parent | 0ecf88c300a4aa52bc58819002c806a286d22e84 (diff) | |
Fix building with BBOX_SUPPORT enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6530 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPStructs.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index f1de8f8b6c..1683546344 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -252,7 +252,7 @@ void BPWritten(const BPCmd& bp) // here. Not sure if there's a better spot to put this. // the number of lines copied is determined by the y scale * source efb height #ifdef BBOX_SUPPORT - *g_VideoInitialize.pBBoxActive = false; + PixelEngine::bbox_active = false; #endif float yScale; @@ -402,18 +402,18 @@ void BPWritten(const BPCmd& bp) int left = bp.newvalue & 0x3ff; // We should only set these if bbox is calculated properly. - g_VideoInitialize.pBBox[0] = left; - g_VideoInitialize.pBBox[1] = right; - *g_VideoInitialize.pBBoxActive = true; + PixelEngine::bbox[0] = left; + PixelEngine::bbox[1] = right; + PixelEngine::bbox_active = true; // WARN_LOG(VIDEO, "ClearBBox LR: %i, %08x - %i, %i", bp.address, bp.newvalue, left, right); } else { int bottom = bp.newvalue >> 10; int top = bp.newvalue & 0x3ff; // We should only set these if bbox is calculated properly. - g_VideoInitialize.pBBox[2] = top; - g_VideoInitialize.pBBox[3] = bottom; - *g_VideoInitialize.pBBoxActive = true; + PixelEngine::bbox[2] = top; + PixelEngine::bbox[3] = bottom; + PixelEngine::bbox_active = true; // WARN_LOG(VIDEO, "ClearBBox TB: %i, %08x - %i, %i", bp.address, bp.newvalue, top, bottom); } #endif |
