aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/engine/runframe.cpp
blob: d81356f29f58b03bbc1737eb2b396f8794e28260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "pch.h"
#include "engine/r2engine.h"
#include "server/r2server.h"
#include "hoststate.h"
#include "server/serverpresence.h"

AUTOHOOK_INIT()
// clang-format off
AUTOHOOK(CEngine__Frame, engine.dll + 0x1C8650,
void, __fastcall, (R2::CEngine* self))
// clang-format on
{
	CEngine__Frame(self);
}
ON_DLL_LOAD("engine.dll", RunFrame, (CModule module))
{
	AUTOHOOK_DISPATCH()
}