diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-05-06 17:22:31 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-12-18 15:21:48 -0800 |
| commit | d84d695fdf675a7668f23bf9db901cef9311a7df (patch) | |
| tree | 13f04d75acd3a7ca8980525500a7c3a7be2d9216 /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | b5fd35f95145ecc8f88a179229ed69b390eb76be (diff) | |
Remove DataReader from LoadXFReg
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.cpp | 4 |
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); } |
