summaryrefslogtreecommitdiff
path: root/tools/src
diff options
context:
space:
mode:
authorHenny022p <73211432+Henny022p@users.noreply.github.com>2026-02-08 18:32:38 +0100
committerGitHub <noreply@github.com>2026-02-08 18:32:38 +0100
commit5ab63f00e522ff69c5bc987e379f0163943f2833 (patch)
tree53622222ac729c6ab6dc75ef7f9bafa8031daf18 /tools/src
parent73901a0a012d55ebb66a4627dcb246d19737fcb5 (diff)
parent5b2cafdc894823d57beee8f3947a391d881d91de (diff)
Merge pull request #701 from Henny022p/cleanup/250302HEADmaster
Various code cleanup changes
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/asset_processor/offsets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/asset_processor/offsets.cpp b/tools/src/asset_processor/offsets.cpp
index f865a85a..631bb05e 100644
--- a/tools/src/asset_processor/offsets.cpp
+++ b/tools/src/asset_processor/offsets.cpp
@@ -5,6 +5,6 @@ OffsetCalculator::OffsetCalculator(const std::filesystem::path& asmOutputFile, c
}
void OffsetCalculator::addAsset(int start, const std::string& symbol) {
- asmOutput << "\t.equiv offset_" << symbol << ", " << start - baseOffset << std::endl;
- cOutput << "#define offset_" << symbol << " " << start - baseOffset << std::endl;
+ asmOutput << "\t.equiv offset_" << symbol << ", 0x" << std::hex << start - baseOffset << std::endl;
+ cOutput << "#define offset_" << symbol << " 0x" << std::hex << start - baseOffset << std::endl;
} \ No newline at end of file