summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-05-06 17:22:31 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-12-18 15:21:48 -0800
commitd84d695fdf675a7668f23bf9db901cef9311a7df (patch)
tree13f04d75acd3a7ca8980525500a7c3a7be2d9216 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parentb5fd35f95145ecc8f88a179229ed69b390eb76be (diff)
Remove DataReader from LoadXFReg
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 239aec158a..26e0f2da93 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -50,9 +50,7 @@ public:
if constexpr (!is_preprocess)
{
- // HACK
- LoadXFReg(count, address,
- DataReader{const_cast<u8*>(data), const_cast<u8*>(data) + count * sizeof(u32)});
+ LoadXFReg(address, count, data);
INCSTAT(g_stats.this_frame.num_xf_loads);
}