From 0f890ce7f11d25ae9c6dc42b3fd70d426c2790ad Mon Sep 17 00:00:00 2001 From: Arkshine Date: Mon, 14 Apr 2014 11:39:08 +0200 Subject: [PATCH] Fix crash in Hamsandwich with hooked function without return. --- 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 643b87f5..99ef45b9 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.ThisVoidPrologue(); + tramp.VoidPrologue(); } #endif }