diff options
| author | Mai <mathew1800@gmail.com> | 2022-11-23 04:40:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-23 04:40:53 +0000 |
| commit | cb232155d9160aad82a1cb4a9a13fda22d079293 (patch) | |
| tree | 59e78d80bd168ccc04849a4a9686239db384c4f6 /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 31458259b67fe67d4feb0b2d425f629e3792fdf7 (diff) | |
| parent | e13094766d51c970deb2a00800e4dd033af25665 (diff) | |
Merge pull request #11298 from Pokechu22/vertexloader-no-DataReader
VertexLoader: Eliminate use of DataReader
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 fcc33add24..c1ac5c876c 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -127,10 +127,8 @@ public: // load vertices const u32 size = vertex_size * num_vertices; - // HACK - DataReader src{const_cast<u8*>(vertex_data), const_cast<u8*>(vertex_data) + size}; const u32 bytes = - VertexLoaderManager::RunVertices<is_preprocess>(vat, primitive, num_vertices, src); + VertexLoaderManager::RunVertices<is_preprocess>(vat, primitive, num_vertices, vertex_data); ASSERT(bytes == size); |
