mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Further work on implementing support for cheats
This commit is contained in:
@@ -8,6 +8,8 @@ class Arm7Patcher
|
||||
public:
|
||||
/// @brief Applies arm7 patches using the given \p loaderPlatform.
|
||||
/// @param loaderPlatform The loader platform to use.
|
||||
/// @param cheatsLength The length of the cheats data, or zero when there are no cheats.
|
||||
/// @param cheatsPtr Pointer to where the cheats need to be stored, or \c nullptr when there are no cheats.
|
||||
/// @return A pointer to the patch space in IWRAM, or \c nullptr if the patches have been placed in main memory.
|
||||
void* ApplyPatches(const LoaderPlatform* loaderPlatform) const;
|
||||
void* ApplyPatches(const LoaderPlatform* loaderPlatform, u32 cheatsLength, void*& cheatsPtr) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user