aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/engine/runframe.cpp
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-04 15:30:44 +0000
committerunknown <for.oliver.kirkham@gmail.com>2023-02-04 15:30:44 +0000
commitebd11ad933320de70baa54c06a7ee8df912b548d (patch)
treedbf8fe6230ea387dd71d13d702c085b008d1b53c /NorthstarDLL/engine/runframe.cpp
parent75ae0bf4f6fab277a611ab42fc037580bfdfc06e (diff)
downloadNorthstarLauncher-ebd11ad933320de70baa54c06a7ee8df912b548d.tar.gz
NorthstarLauncher-ebd11ad933320de70baa54c06a7ee8df912b548d.zip
add FUNCTION_AT and VAR_AT macros
Diffstat (limited to 'NorthstarDLL/engine/runframe.cpp')
-rw-r--r--NorthstarDLL/engine/runframe.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/engine/runframe.cpp b/NorthstarDLL/engine/runframe.cpp
index d81356f2..3df93f54 100644
--- a/NorthstarDLL/engine/runframe.cpp
+++ b/NorthstarDLL/engine/runframe.cpp
@@ -5,6 +5,7 @@
#include "server/serverpresence.h"
AUTOHOOK_INIT()
+
// clang-format off
AUTOHOOK(CEngine__Frame, engine.dll + 0x1C8650,
void, __fastcall, (R2::CEngine* self))
@@ -12,6 +13,7 @@ void, __fastcall, (R2::CEngine* self))
{
CEngine__Frame(self);
}
+
ON_DLL_LOAD("engine.dll", RunFrame, (CModule module))
{
AUTOHOOK_DISPATCH()