JitRegister: overload Register with a [start,end) variant

This commit is contained in:
Gabriel Corona
2015-01-05 20:24:37 +01:00
parent a957f93532
commit a4adfe194a
3 changed files with 25 additions and 8 deletions

View File

@ -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)