diff options
| author | Mai <mathew1800@gmail.com> | 2022-11-24 00:58:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-24 00:58:45 +0000 |
| commit | 7be4c90f67e86152bebedcfada9db73fb93468fb (patch) | |
| tree | 45daa19ba53dd4d524c4ef41e3f6800a7a2da361 /Source/Core/Common | |
| parent | d6437b7e461af0ef457c05be996d6fb30d7922ac (diff) | |
| parent | 545fee9c94c2671f6ae55fa54b1ab734c2ad8b91 (diff) | |
Merge pull request #11166 from AdmiralCurtiss/mmio-system
HW: Pass System to MMIO handlers.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/x64Emitter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/x64Emitter.h b/Source/Core/Common/x64Emitter.h index 9e078a0e1e..d027a1a9ef 100644 --- a/Source/Core/Common/x64Emitter.h +++ b/Source/Core/Common/x64Emitter.h @@ -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 |
