summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-05-03 15:10:19 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-05-20 11:15:09 -0400
commit833b7ee584c8ed828dea99f71c6874e73a8c3f32 (patch)
tree9b7dc659cbe5eaef9fb36f283d5310e4e0c8335e /Source/Core/VideoCommon/BPStructs.cpp
parent08611c3f363b67e9a9aedef43d9e18bab1d232cf (diff)
BPFunctions: Remove the rest of GetConfig
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 0194eb4ca7..d7d7210307 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -5,6 +5,7 @@
#include <cmath>
#include "Common/Thread.h"
+#include "Core/Core.h"
#include "Core/HW/Memmap.h"
#include "VideoCommon/BPFunctions.h"
@@ -219,7 +220,7 @@ void BPWritten(const BPCmd& bp)
// Check if we are to copy from the EFB or draw to the XFB
if (PE_copy.copy_to_xfb == 0)
{
- if (GetConfig(CONFIG_SHOWEFBREGIONS))
+ if (g_ActiveConfig.bShowEFBCopyRegions)
stats.efb_regions.push_back(rc);
CopyEFB(bpmem.copyTexDest << 5, PE_copy.tp_realFormat(),
@@ -272,7 +273,7 @@ void BPWritten(const BPCmd& bp)
u8 *ptr = nullptr;
// TODO - figure out a cleaner way.
- if (GetConfig(CONFIG_ISWII))
+ if (Core::g_CoreStartupParameter.bWii)
ptr = Memory::GetPointer(bpmem.tmem_config.tlut_src << 5);
else
ptr = Memory::GetPointer((bpmem.tmem_config.tlut_src & 0xFFFFF) << 5);