From a4adfe194a5b954bdda80dc6b145e0cf646ccd63 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Mon, 5 Jan 2015 20:24:37 +0100 Subject: JitRegister: overload Register with a [start,end) variant --- Source/Core/VideoCommon/VertexLoaderX64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon') 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) -- cgit v1.2.3