output rom size in hex longlong format

This commit is contained in:
scawful
2024-08-10 21:46:08 -04:00
parent 6dc90ead13
commit 52502dc568
3 changed files with 6 additions and 1 deletions

View File

@@ -34,6 +34,10 @@ std::string UppercaseHexLong(uint32_t dword) {
std::string result = absl::StrFormat("0x%06X", dword);
return result;
}
std::string UppercaseHexLongLong(uint64_t qword) {
std::string result = absl::StrFormat("0x%08X", qword);
return result;
}
bool StringReplace(std::string& str, const std::string& from,
const std::string& to) {