diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-11-28 22:40:06 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-11-28 22:40:06 -0600 |
| commit | e7daf6b3bc56e7b8261181ddad9ab169a3804e30 (patch) | |
| tree | 818c8145befa95ef6c7d13c3ade49b4cc52f61f1 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 5003618587b9213bffa6add0d2873126380dd25b (diff) | |
| parent | 7acd5eba1777000038f2ccde5a236a663e3d7543 (diff) | |
Merge pull request #1606 from FioraAeterna/vertexloadercall
Vertex loader: use ABI_CallFunction
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 80a891ff26..3fd644ec97 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -410,8 +410,7 @@ void VertexLoader::CompileVertexTranslator() void VertexLoader::WriteCall(TPipelineFunction func) { #ifdef USE_VERTEX_LOADER_JIT - MOV(64, R(RAX), Imm64((u64)func)); - CALLptr(R(RAX)); + ABI_CallFunction((const void*)func); #else m_PipelineStages[m_numPipelineStages++] = func; #endif |
