You've already forked pico-loader
mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-01-09 16:28:35 -08:00
Initial commit
This commit is contained in:
13
arm9/source/ModuleParamsLocator.h
Normal file
13
arm9/source/ModuleParamsLocator.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "ndsHeader.h"
|
||||
#include "moduleParams.h"
|
||||
|
||||
/// @brief Class for finding the module params of a retail arm9.
|
||||
class ModuleParamsLocator
|
||||
{
|
||||
public:
|
||||
/// @brief Searches for the module params of the arm9 of the rom with the given \p romHeader.
|
||||
/// @param romHeader The header of the rom.
|
||||
/// @return A pointer to the found module params, or \c nullptr if the module params could not be found.
|
||||
module_params_ntr_t* FindModuleParams(const nds_header_ntr_t* romHeader);
|
||||
};
|
||||
Reference in New Issue
Block a user