diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-03-21 09:27:17 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-03-21 09:27:17 -0600 |
| commit | 4039f80fa42b470262238eab34cbba69f9d42ed6 (patch) | |
| tree | 0ee6db26862a73bc6c29ae1cfa12b275b352ebda /src/Companion.cpp | |
| parent | 98b3458d02163af517ed4c95c258217f889d937f (diff) | |
Added overlaps in the code as comments
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 96d6773..d52b40d 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -800,10 +800,11 @@ void Companion::Process() { stream << "\n"; } } else if(gap > 0x10) { - stream << "\n// WARNING: Gap detected between 0x" << std::hex << startptr << " and 0x" << end << " with size 0x" << gap << " on file " << this->gCurrentFile << "\n"; + stream << "\n// WARNING: Gap detected between 0x" << std::hex << startptr << " and 0x" << end << " with size 0x" << gap << "\n"; } if(gap < 0) { + stream << "\n// WARNING: Overlap detected between 0x" << std::hex << startptr << " and 0x" << end << "\n"; SPDLOG_WARN("Overlap detected between 0x{:X} and 0x{:X}", startptr, end); } } |
