Remove DataReader from LoadXFReg

This commit is contained in:
Pokechu22
2021-12-18 15:21:48 -08:00
parent b5fd35f951
commit d84d695fdf
4 changed files with 50 additions and 73 deletions
+1 -3
View File
@@ -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);
}