From 52dc6d143fec8eabb9958bacbdbf6f1b4b4af592 Mon Sep 17 00:00:00 2001 From: BobTheBob9 Date: Sun, 24 Jul 2022 20:55:34 +0100 Subject: add new memory lib --- NorthstarDLL/runframe.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NorthstarDLL/runframe.cpp') diff --git a/NorthstarDLL/runframe.cpp b/NorthstarDLL/runframe.cpp index ac0f3055..19a0a122 100644 --- a/NorthstarDLL/runframe.cpp +++ b/NorthstarDLL/runframe.cpp @@ -7,12 +7,12 @@ AUTOHOOK_INIT() AUTOHOOK(CEngine__Frame, engine.dll + 0x1C8650, -void, , (R2::CEngine* self)) +void, __fastcall, (R2::CEngine* self)) { CEngine__Frame(self); } -ON_DLL_LOAD("engine.dll", RunFrame, (HMODULE baseAddress)) +ON_DLL_LOAD("engine.dll", RunFrame, (CModule module)) { AUTOHOOK_DISPATCH() } \ No newline at end of file -- cgit v1.2.3