mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
HW: Pass System to MMIO handlers.
This commit is contained in:
parent
0ef6d30a0d
commit
0a6fdb9c13
17 changed files with 215 additions and 199 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue