From d6d4badbdaa60ce333a53195e4da4814d31b533c Mon Sep 17 00:00:00 2001 From: Arkshine Date: Mon, 14 Apr 2014 13:37:09 +0200 Subject: [PATCH] Fix crash in Hamsandwich with hooked function without return (hopefully last time) --- dlls/hamsandwich/Trampolines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/hamsandwich/Trampolines.h b/dlls/hamsandwich/Trampolines.h index 99ef45b9..bca62dc4 100644 --- a/dlls/hamsandwich/Trampolines.h +++ b/dlls/hamsandwich/Trampolines.h @@ -690,7 +690,7 @@ inline void *CreateGenericTrampoline(bool thiscall, bool voidcall, bool retbuf, } else { - tramp.VoidPrologue(); + tramp.VoidEpilogue(); } #endif }