aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/runframe.cpp
blob: eb401f51114987524e148e791431c2aae3c5bffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "pch.h"
#include "r2engine.h"
#include "r2server.h"
#include "hoststate.h"
#include "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()
}