diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-12-26 23:57:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-26 23:57:11 -0500 |
| commit | fd5a7f434171a33b1b3eb2a3e112fdcee6d9262d (patch) | |
| tree | bdbb584b92643315bb181aa09e2d6b43d98bed24 /ZAPD/ZFile.cpp | |
| parent | 155a463a54a3bc9b9c86000ae6d819455875ec15 (diff) | |
Add flag to force unaccounted to be static (#216)
* add forced static
* add flag for forcing unaccounted to be static
* Update README.md
Co-authored-by: Louis <louist103@pop-os.localdomain>
Diffstat (limited to 'ZAPD/ZFile.cpp')
| -rw-r--r-- | ZAPD/ZFile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp index f7f3f69..22a6a45 100644 --- a/ZAPD/ZFile.cpp +++ b/ZAPD/ZFile.cpp @@ -1305,7 +1305,10 @@ bool ZFile::HandleUnaccountedAddress(offset_t currentAddress, offset_t lastAddr, StringHelper::Sprintf("%s_%s_%06X", name.c_str(), unaccountedPrefix.c_str(), unaccountedAddress), diff, src); + decl->isUnaccounted = true; + if (Globals::Instance->forceUnaccountedStatic) + decl->staticConf = StaticConfig::On; if (nonZeroUnaccounted) { |
