mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Fix bug in handling of E cheat opcode, add cheat support for all remaining games
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
DEFINE_SECTION_SYMBOLS(patch_cheatengine);
|
||||
|
||||
extern "C" void cheatengine_entry_arm(void);
|
||||
extern "C" void cheatengine_entry_thumb_replace(void);
|
||||
extern "C" void cheatengine_entry(void);
|
||||
|
||||
extern const void* cheatengine_cheatsPtr;
|
||||
@@ -21,4 +23,14 @@ public:
|
||||
{
|
||||
return GetAddressAtTarget((void*)cheatengine_entry);
|
||||
}
|
||||
|
||||
const void* GetCheatEngineFunctionArm() const
|
||||
{
|
||||
return GetAddressAtTarget((void*)cheatengine_entry_arm);
|
||||
}
|
||||
|
||||
const void* GetCheatEngineFunctionThumbReplace() const
|
||||
{
|
||||
return GetAddressAtTarget((void*)cheatengine_entry_thumb_replace);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user