summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/XFStructs.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-02-10 16:01:42 -0800
committerPokechu22 <Pokechu022@gmail.com>2021-03-06 19:27:14 -0800
commitaab81d5aa0a1bd6a467c91d0dbba04a9dc40998f (patch)
tree6f176792633fef3693183a5b795be65ce976bc8a /Source/Core/VideoCommon/XFStructs.cpp
parent953e09428fac6384038c80b7337a71dbb8c00fbb (diff)
Convert XFMemory to BitField and enum class
Additionally a new ClipDisable union has been added (though it is not currently used by Dolphin).
Diffstat (limited to 'Source/Core/VideoCommon/XFStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/XFStructs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/XFStructs.cpp b/Source/Core/VideoCommon/XFStructs.cpp
index 4fda86a8e0..3d02ca19bf 100644
--- a/Source/Core/VideoCommon/XFStructs.cpp
+++ b/Source/Core/VideoCommon/XFStructs.cpp
@@ -93,7 +93,7 @@ static void XFRegWritten(int transferSize, u32 baseAddress, DataReader src)
break;
case XFMEM_DUALTEX:
- if (xfmem.dualTexTrans.enabled != (newValue & 1))
+ if (xfmem.dualTexTrans.enabled != bool(newValue & 1))
g_vertex_manager->Flush();
VertexShaderManager::SetTexMatrixInfoChanged(-1);
break;