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:
14
arm9/source/patches/arm7/PokemonDownloaderArm7Patch.h
Normal file
14
arm9/source/patches/arm7/PokemonDownloaderArm7Patch.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include "../Patch.h"
|
||||
#include "LoaderInfo.h"
|
||||
|
||||
/// @brief Arm7 patch to make the Pokemon downloader reboot into Pico Loader.
|
||||
class PokemonDownloaderArm7Patch : public Patch
|
||||
{
|
||||
public:
|
||||
bool FindPatchTarget(PatchContext& patchContext) override;
|
||||
void ApplyPatch(PatchContext& patchContext) override;
|
||||
|
||||
private:
|
||||
u32* _bootFunction = nullptr;
|
||||
};
|
||||
Reference in New Issue
Block a user