mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 17:26:48 +02:00
20 lines
547 B
C++
20 lines
547 B
C++
#pragma once
|
|
#include "../PatchCode.h"
|
|
#include "sections.h"
|
|
|
|
DEFINE_SECTION_SYMBOLS(patch_pokemondownloader7);
|
|
|
|
extern "C" void patch_pokemondownloader7_entry(void);
|
|
|
|
class PokemonDownloaderArm7PatchCode : public PatchCode
|
|
{
|
|
public:
|
|
explicit PokemonDownloaderArm7PatchCode(PatchHeap& patchHeap)
|
|
: PatchCode(SECTION_START(patch_pokemondownloader7), SECTION_SIZE(patch_pokemondownloader7), patchHeap) { }
|
|
|
|
const void* GetBoot7Function() const
|
|
{
|
|
return GetAddressAtTarget((void*)patch_pokemondownloader7_entry);
|
|
}
|
|
};
|