mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
[nx] Fixed bug in NsoHeader:copyFrom()
Ensure variables are cleared.
This commit is contained in:
parent
a7b0d8fdd1
commit
d169f854cc
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ bool nx::NsoHeader::isEqual(const NsoHeader& other) const
|
|||
}
|
||||
void nx::NsoHeader::copyFrom(const NsoHeader& other)
|
||||
{
|
||||
clear();
|
||||
mModuleId = other.mModuleId;
|
||||
mBssSize = other.mBssSize;
|
||||
mTextSegmentInfo = other.mTextSegmentInfo;
|
||||
|
|
Loading…
Reference in a new issue