mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-11-27 08:40:32 +00:00
Fix incorrect THUNK_ABI prefix
This commit is contained in:
parent
1971c8d505
commit
ae4a04b560
@ -141,9 +141,9 @@ inline Result CallHostFunction(Args... args) {
|
||||
// Convenience wrapper that returns the function pointer to a CallHostFunction
|
||||
// instantiation matching the function signature of `host_func`
|
||||
template<typename Result, typename...Args>
|
||||
static auto GetCallerForHostFunction(THUNK_ABI Result (*host_func)(Args...))
|
||||
-> THUNK_ABI Result(*)(Args...) {
|
||||
return &CallHostFunction<fexthunks_invoke_callback<THUNK_ABI Result(Args...)>, Result, Args...>;
|
||||
static auto GetCallerForHostFunction(Result (*host_func)(Args...))
|
||||
-> Result(*)(Args...) {
|
||||
return &CallHostFunction<fexthunks_invoke_callback<Result(Args...)>, Result, Args...>;
|
||||
}
|
||||
|
||||
// Ensures the given host function can safely be called from guest code.
|
||||
|
Loading…
Reference in New Issue
Block a user