mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
16 lines
402 B
C++
16 lines
402 B
C++
#pragma once
|
|
#include "OverlayHookPatch.h"
|
|
|
|
/// @brief Arm9 patch to apply patches to overlays when they are loaded.
|
|
class FsStartOverlayHookPatch : public OverlayHookPatch
|
|
{
|
|
public:
|
|
bool FindPatchTarget(PatchContext& patchContext) override;
|
|
void ApplyPatch(PatchContext& patchContext) override;
|
|
|
|
private:
|
|
u32* _fsStartOverlay = nullptr;
|
|
u16 _thumb = false;
|
|
u16 _hybrid = false;
|
|
};
|