diff options
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); } |
