aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/engine/runframe.cpp
blob: ddfd92534d179675c972d897449a02fdffcc76e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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, (CEngine* self))
// clang-format on
{
	CEngine__Frame(self);
}

ON_DLL_LOAD("engine.dll", RunFrame, (CModule module))
{
	AUTOHOOK_DISPATCH()
}