From 6d6de880eb9faabbc83ff31b62dd91e5bb4a490b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 12 Feb 2023 23:02:39 +0100 Subject: Also needed a RunFunctionWindows, following the Windows Calling Convention (and now d3datapter9 works) --- src/include/callback.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/callback.h') diff --git a/src/include/callback.h b/src/include/callback.h index dae26f1e..eecbc3d2 100755 --- a/src/include/callback.h +++ b/src/include/callback.h @@ -10,5 +10,8 @@ uint64_t RunFunction(box64context_t *context, uintptr_t fnc, int nargs, ...); uint64_t RunSafeFunction(box64context_t *context, uintptr_t fnc, int nargs, ...); // use emu state to run function uint64_t RunFunctionWithEmu(x64emu_t *emu, int QuitOnLongJumpExit, uintptr_t fnc, int nargs, ...); +// using the Windows x64 calling convention +uint64_t RunFunctionWindows(box64context_t *context, uintptr_t fnc, int nargs, ...); + #endif //__CALLBACK_H__ \ No newline at end of file -- cgit 1.4.1