示例#1
0
文件: Jit.cpp 项目: ToadKing/ppsspp
void Jit::CallProtectedFunction(const void *func, const u32 arg1, const u32 arg2, const u32 arg3)
{
	// On x64, we need to save R8, which is caller saved.
	thunks.Enter(this);
	ABI_CallFunctionCCC(func, arg1, arg2, arg3);
	thunks.Leave(this);
}
示例#2
0
文件: Jit.cpp 项目: Versus9/ppsspp
void Jit::CallProtectedFunction(void *func, const u32 arg1, const u32 arg2, const u32 arg3)
{
	// On x64, we need to save R8, which is caller saved.
	ABI_CallFunction((void *)thunks.GetSaveRegsFunction());
	ABI_CallFunctionCCC(func, arg1, arg2, arg3);
	ABI_CallFunction((void *)thunks.GetLoadRegsFunction());
}