mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
HW: Pass System to MMIO handlers.
This commit is contained in:
@ -1168,10 +1168,10 @@ public:
|
||||
}
|
||||
|
||||
template <typename T, typename... Args>
|
||||
void ABI_CallLambdaC(const std::function<T(Args...)>* f, u32 p1)
|
||||
void ABI_CallLambdaPC(const std::function<T(Args...)>* f, void* p1, u32 p2)
|
||||
{
|
||||
auto trampoline = &XEmitter::CallLambdaTrampoline<T, Args...>;
|
||||
ABI_CallFunctionPC(trampoline, reinterpret_cast<const void*>(f), p1);
|
||||
ABI_CallFunctionPPC(trampoline, reinterpret_cast<const void*>(f), p1, p2);
|
||||
}
|
||||
}; // class XEmitter
|
||||
|
||||
|
Reference in New Issue
Block a user