mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Initial commit
This commit is contained in:
19
arm9/source/patches/arm7/PokemonDownloaderArm7PatchAsm.h
Normal file
19
arm9/source/patches/arm7/PokemonDownloaderArm7PatchAsm.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user