diff --git a/rpcs3/Emu/CPU/CPUTranslator.h b/rpcs3/Emu/CPU/CPUTranslator.h index a140c83a79..70e6fe889d 100644 --- a/rpcs3/Emu/CPU/CPUTranslator.h +++ b/rpcs3/Emu/CPU/CPUTranslator.h @@ -2979,6 +2979,7 @@ public: m_engine->updateGlobalMapping({lame.data(), lame.size()}, reinterpret_cast(_func)); const auto inst = m_ir->CreateCall(func, {args...}); + inst->setTailCallKind(llvm::CallInst::TCK_NoTail); #ifdef _WIN32 inst->setCallingConv(llvm::CallingConv::Win64); #endif