summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.h')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderBase.h b/Source/Core/VideoCommon/VertexLoaderBase.h
index 29b53d3c58..77b66f629b 100644
--- a/Source/Core/VideoCommon/VertexLoaderBase.h
+++ b/Source/Core/VideoCommon/VertexLoaderBase.h
@@ -23,8 +23,8 @@ public:
VertexLoaderUID() {}
VertexLoaderUID(const TVtxDesc& vtx_desc, const VAT& vat)
{
- vid[0] = vtx_desc.Hex & 0xFFFFFFFF;
- vid[1] = vtx_desc.Hex >> 32;
+ vid[0] = vtx_desc.GetLegacyHex0();
+ vid[1] = vtx_desc.GetLegacyHex1();
vid[2] = vat.g0.Hex;
vid[3] = vat.g1.Hex;
vid[4] = vat.g2.Hex;