mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
[nx-hb|nstool] More typos.
This commit is contained in:
parent
b7175f7f5c
commit
726c272f04
2 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,6 @@ namespace nx
|
|||
{
|
||||
namespace nro
|
||||
{
|
||||
static const uint64_t kNroHomebrewStMagic = _MAKE_STRUCT_MAGIC_U64("HOMEBREW");
|
||||
static const uint64_t kNroHomebrewStructMagic = _MAKE_STRUCT_MAGIC_U64("HOMEBREW");
|
||||
}
|
||||
}
|
|
@ -106,7 +106,7 @@ void NroProcess::importHeader()
|
|||
|
||||
// setup homebrew extension
|
||||
nx::sNroHeader* raw_hdr = (nx::sNroHeader*)scratch.data();
|
||||
if (((le_uint64_t*)raw_hdr->reserved_0)->get() == nx::nro::kNroHomebrewSig && mFile->size() > mHdr.getNroSize())
|
||||
if (((le_uint64_t*)raw_hdr->reserved_0)->get() == nx::nro::kNroHomebrewStructMagic && mFile->size() > mHdr.getNroSize())
|
||||
{
|
||||
mIsHomebrewNro = true;
|
||||
mAssetProc.setInputFile(new OffsetAdjustedIFile(mFile, false, mHdr.getNroSize(), mFile->size() - mHdr.getNroSize()), true);
|
||||
|
|
Loading…
Reference in a new issue