mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-18 15:32:06 +00:00
[windows] remove various workarounds which were required for vs2013
This commit is contained in:
parent
30702c17b6
commit
bea18eedc4
4 changed files with 2 additions and 50 deletions
|
@ -954,8 +954,7 @@ public:
|
|||
template <typename T, typename... Args>
|
||||
void ABI_CallLambdaC(const std::function<T(Args...)>* f, u32 p1)
|
||||
{
|
||||
// Double casting is required by VC++ for some reason.
|
||||
auto trampoline = (void(*)())&XEmitter::CallLambdaTrampoline<T, Args...>;
|
||||
auto trampoline = &XEmitter::CallLambdaTrampoline<T, Args...>;
|
||||
ABI_CallFunctionPC((void*)trampoline, const_cast<void*>((const void*)f), p1);
|
||||
}
|
||||
}; // class XEmitter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue