diff options
| author | Mai <mai.iam2048@gmail.com> | 2024-01-31 09:57:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-31 09:57:17 -0500 |
| commit | 30fdf25f8f3a2fd217c8c39eb3abb5b55f63b510 (patch) | |
| tree | bdf413f54fe46fc1c0a2ed168beac8b6fa84f51b /Source/Core/VideoCommon/CPMemory.cpp | |
| parent | e0828815e73faf8043da27f418f724d6b7fa9db3 (diff) | |
| parent | 9a3e770c23312f61848adefc7202cb1b800cadff (diff) | |
Merge pull request #12542 from AdmiralCurtiss/system-sconfig
Migrate m_is_mios and bWii from SConfig to System.
Diffstat (limited to 'Source/Core/VideoCommon/CPMemory.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/CPMemory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/CPMemory.cpp b/Source/Core/VideoCommon/CPMemory.cpp index 853f0a7841..b3761ddf52 100644 --- a/Source/Core/VideoCommon/CPMemory.cpp +++ b/Source/Core/VideoCommon/CPMemory.cpp @@ -10,6 +10,7 @@ #include "Common/EnumUtils.h" #include "Common/Logging/Log.h" #include "Core/DolphinAnalytics.h" +#include "Core/System.h" #include "VideoCommon/CommandProcessor.h" #include "VideoCommon/VertexLoaderManager.h" @@ -186,7 +187,7 @@ void CPState::LoadCPReg(u8 sub_cmd, u32 value) // Pointers to vertex arrays in GC RAM case ARRAY_BASE: array_bases[static_cast<CPArray>(sub_cmd & CP_ARRAY_MASK)] = - value & CommandProcessor::GetPhysicalAddressMask(); + value & CommandProcessor::GetPhysicalAddressMask(Core::System::GetInstance().IsWii()); break; case ARRAY_STRIDE: |
