mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
13 lines
421 B
C++
13 lines
421 B
C++
#include "common.h"
|
|
#include "../../../PatchContext.h"
|
|
#include "PokemonBw2IrApPatchAsm.h"
|
|
#include "PokemonBw2IrApPatch.h"
|
|
|
|
const void* PokemonBw2IrApPatch::InsertPatch(PatchContext& patchContext)
|
|
{
|
|
return patchContext.GetPatchCodeCollection().AddUniquePatchCode<PokemonBw2IrApPatchCode>
|
|
(
|
|
patchContext.GetPatchHeap(),
|
|
next ? next->InsertPatch(patchContext) : nullptr
|
|
)->GetPatchFunction();
|
|
} |