mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 01:06:50 +02:00
Further work on implementing support for cheats
This commit is contained in:
@@ -42,6 +42,13 @@ public:
|
||||
_argumentsLength = argumentsLength;
|
||||
}
|
||||
|
||||
/// @brief Sets the cheats to apply to the rom.
|
||||
/// @param cheats The cheats.
|
||||
void SetCheats(const pload_cheats_t* cheats)
|
||||
{
|
||||
_cheats = cheats;
|
||||
}
|
||||
|
||||
/// @brief Loads the rom according to the specified \p bootMode.
|
||||
/// @param bootMode The boot mode.
|
||||
void Load(BootMode bootMode);
|
||||
@@ -53,6 +60,7 @@ private:
|
||||
const TCHAR* _launcherPath = nullptr;
|
||||
u32 _argumentsLength = 0;
|
||||
const char* _arguments = nullptr;
|
||||
const pload_cheats_t* _cheats = nullptr;
|
||||
nds_header_twl_t _romHeader;
|
||||
DsiWareSaveResult _dsiwareSaveResult;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user