summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderX64.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus+github@selfnet.de>2015-01-28 13:23:32 +0100
committerMarkus Wick <markus+github@selfnet.de>2015-01-28 13:23:32 +0100
commit109fa8c2c8c90aac5a45fbe58190766efe383959 (patch)
tree6de6c8c5da98806632e1bfb8fe4a84141a91bc62 /Source/Core/VideoCommon/VertexLoaderX64.cpp
parenteedc7bb5823157defa8f76e45df02c410f88e23e (diff)
parentc3777bbd691353f3f3eecfaecb518a52b6a0a1ea (diff)
Merge pull request #1800 from randomstuff/jit-register
Add support of more JIT-compiled code for profiling
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderX64.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderX64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderX64.cpp b/Source/Core/VideoCommon/VertexLoaderX64.cpp
index 50c46da027..de4ab58cc6 100644
--- a/Source/Core/VideoCommon/VertexLoaderX64.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderX64.cpp
@@ -33,7 +33,7 @@ VertexLoaderX64::VertexLoaderX64(const TVtxDesc& vtx_desc, const VAT& vtx_att):
std::string name;
AppendToString(&name);
- JitRegister::Register(region, (u32)(GetCodePtr() - region), name.c_str());
+ JitRegister::Register(region, GetCodePtr(), name.c_str());
}
OpArg VertexLoaderX64::GetVertexAddr(int array, u64 attribute)