diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-01-18 19:48:14 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-01-18 19:48:14 -0600 |
| commit | 7e64869185d47a835d22016c232cef09a3a53615 (patch) | |
| tree | d8f5d19bf319be9a25ae46917d6341b02a89d18c /Source/Core/VideoCommon/VertexLoader_Position.cpp | |
| parent | 5357b9c95ff2458e3b8c3112e303924a0d460ce6 (diff) | |
| parent | d3f49097c5226dc9ff0dd2fa37dc4896a38d9448 (diff) | |
Merge pull request #1887 from Tilka/vertex_loader_jit
VertexLoader: rewrite x64 JIT
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader_Position.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader_Position.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader_Position.cpp b/Source/Core/VideoCommon/VertexLoader_Position.cpp index 419c041b5b..3313c12b5a 100644 --- a/Source/Core/VideoCommon/VertexLoader_Position.cpp +++ b/Source/Core/VideoCommon/VertexLoader_Position.cpp @@ -81,8 +81,8 @@ void LOADERDECL Pos_ReadDirect(VertexLoader* loader) for (int i = 0; i < 3; ++i) dst.Write(i<N ? PosScale(src.Read<T>(), scale) : 0.f); - dst.WritePointer(&g_vertex_manager_write_ptr); - src.WritePointer(&g_video_buffer_read_ptr); + g_vertex_manager_write_ptr = dst.GetPointer(); + g_video_buffer_read_ptr = src.GetPointer(); LOG_VTX(); } @@ -101,7 +101,7 @@ void LOADERDECL Pos_ReadIndex(VertexLoader* loader) for (int i = 0; i < 3; ++i) dst.Write(i<N ? PosScale(Common::FromBigEndian(data[i]), scale) : 0.f); - dst.WritePointer(&g_vertex_manager_write_ptr); + g_vertex_manager_write_ptr = dst.GetPointer(); LOG_VTX(); } |
