mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Preserve cheats when OS_ResetSystem is used, move temporary save buffer to main memory
This commit is contained in:
@@ -22,11 +22,15 @@ public:
|
||||
ThumbF
|
||||
};
|
||||
|
||||
explicit CardiTaskThreadPatch(void* saveTmpBuffer)
|
||||
: _saveTmpBuffer(saveTmpBuffer) { }
|
||||
|
||||
bool FindPatchTarget(PatchContext& patchContext) override;
|
||||
void ApplyPatch(PatchContext& patchContext) override;
|
||||
|
||||
private:
|
||||
u32* _cardiTaskThread = nullptr;
|
||||
void* _saveTmpBuffer;
|
||||
PatchVariant _patchVariant = PatchVariant::None;
|
||||
|
||||
void ApplyArmPatch(void* patch1Address) const;
|
||||
|
||||
Reference in New Issue
Block a user