mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
[nx] Fixed bug in NsoHeader:copyFrom()
Ensure variables are cleared.
This commit is contained in:
parent
a7b0d8fdd1
commit
d169f854cc
|
@ -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