diff options
| author | degasus <wickmarkus@web.de> | 2012-12-25 12:39:00 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2012-12-25 12:39:00 +0100 |
| commit | bff0faea2d3afbd3fc9d19f9449f2c31d64a5e3e (patch) | |
| tree | 1b7262148633924c53e066a354c4b2a1a46d459d /Source/Core | |
| parent | b3714f4874681b463c48f5aa96e3f89274f94aac (diff) | |
| parent | 399a6af66de69ffaf54d779441b57b05aa2b24e0 (diff) | |
Merge branch 'immediate-removal'
Conflicts:
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/Src/MathUtil.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPFunctions.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/MathUtil.h b/Source/Core/Common/Src/MathUtil.h index a6290ff602..c5f613ada1 100644 --- a/Source/Core/Common/Src/MathUtil.h +++ b/Source/Core/Common/Src/MathUtil.h @@ -117,6 +117,8 @@ struct Rectangle Rectangle(T theLeft, T theTop, T theRight, T theBottom) : left(theLeft), top(theTop), right(theRight), bottom(theBottom) { } + + bool operator==(const Rectangle& r) { return left==r.left && top==r.top && right==r.right && bottom==r.bottom; } T GetWidth() const { return abs(right - left); } T GetHeight() const { return abs(bottom - top); } diff --git a/Source/Core/VideoCommon/Src/BPFunctions.cpp b/Source/Core/VideoCommon/Src/BPFunctions.cpp index cddeae3000..b9a76ba7b6 100644 --- a/Source/Core/VideoCommon/Src/BPFunctions.cpp +++ b/Source/Core/VideoCommon/Src/BPFunctions.cpp @@ -236,7 +236,7 @@ bool GetConfig(const int &type) case CONFIG_DISABLEFOG: return g_ActiveConfig.bDisableFog; case CONFIG_SHOWEFBREGIONS: - return false; + return g_ActiveConfig.bShowEFBCopyRegions; default: PanicAlert("GetConfig Error: Unknown Config Type!"); return false; |
