102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
hooks.c File Reference
#include "hooks_private.h"
#include "sidecar_private.h"
#include <dttr_pcdogs.h>

Go to the source code of this file.

Functions

bool dttr_game_hooks_init (const DTTR_Mods_Context *ctx)
void dttr_game_hooks_cleanup (const DTTR_Mods_Context *)

Variables

static DTTR_Core_PatchGroupgame_targets

Function Documentation

◆ dttr_game_hooks_cleanup()

void dttr_game_hooks_cleanup ( const DTTR_Mods_Context * ctx)

Definition at line 41 of file hooks.c.

References DTTR_Core_PatchGroupRelease(), game_targets, and NULL.

Referenced by cleanup_runtime().

◆ dttr_game_hooks_init()

Variable Documentation

◆ game_targets

DTTR_Core_PatchGroup* game_targets
static

Definition at line 6 of file hooks.c.

Referenced by dttr_game_hooks_cleanup(), and dttr_game_hooks_init().