summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrozlette <Rozelette@users.noreply.github.com>2022-02-03 15:55:09 -0600
committerM4xw <m4x@m4xw.net>2022-02-17 21:03:23 +0100
commit2ccdf814d29484c848aa6752b760b0138afb64b5 (patch)
tree4edaf27fc04022ce27224419a3f140de9c8e1b44
parent50538ee4beaf3bb1c702af92adf38daa5210690e (diff)
Fix spdlog formatting
-rw-r--r--OTRExporter/DisplayListExporter.cpp10
-rw-r--r--out.txtbin0 -> 7133104 bytes
2 files changed, 5 insertions, 5 deletions
diff --git a/OTRExporter/DisplayListExporter.cpp b/OTRExporter/DisplayListExporter.cpp
index b6adce7..da3c25a 100644
--- a/OTRExporter/DisplayListExporter.cpp
+++ b/OTRExporter/DisplayListExporter.cpp
@@ -317,7 +317,7 @@ void OTRExporter_DisplayList::Save(ZResource* res, const fs::path& outPath, Bina
{
word0 = 0;
word1 = 0;
- spdlog::error(StringHelper::Sprintf("dListDecl == nullptr! Addr = %08X", GETSEGOFFSET(data)));
+ spdlog::error(StringHelper::Sprintf("dListDecl == nullptr! Addr = {:08X}", GETSEGOFFSET(data)));
}
for (size_t i = 0; i < dList->otherDLists.size(); i++)
@@ -342,7 +342,7 @@ void OTRExporter_DisplayList::Save(ZResource* res, const fs::path& outPath, Bina
}
else
{
- spdlog::error(StringHelper::Sprintf("dListDecl2 == nullptr! Addr = %08X", GETSEGOFFSET(data)));
+ spdlog::error(StringHelper::Sprintf("dListDecl2 == nullptr! Addr = {:08X}", GETSEGOFFSET(data)));
}
}
@@ -404,7 +404,7 @@ void OTRExporter_DisplayList::Save(ZResource* res, const fs::path& outPath, Bina
{
word0 = 0;
word1 = 0;
- spdlog::error(StringHelper::Sprintf("dListDecl == nullptr! Addr = %08X", GETSEGOFFSET(data)));
+ spdlog::error(StringHelper::Sprintf("dListDecl == nullptr! Addr = {:08X}", GETSEGOFFSET(data)));
}
for (size_t i = 0; i < dList->otherDLists.size(); i++)
@@ -429,7 +429,7 @@ void OTRExporter_DisplayList::Save(ZResource* res, const fs::path& outPath, Bina
}
else
{
- spdlog::error(StringHelper::Sprintf("dListDecl2 == nullptr! Addr = %08X", GETSEGOFFSET(data)));
+ spdlog::error(StringHelper::Sprintf("dListDecl2 == nullptr! Addr = {:08X}", GETSEGOFFSET(data)));
}
}
}
@@ -689,7 +689,7 @@ void OTRExporter_DisplayList::Save(ZResource* res, const fs::path& outPath, Bina
{
word0 = 0;
word1 = 0;
- spdlog::error("texDecl == nullptr! PTR = 0x%08X", texAddress);
+ spdlog::error("texDecl == nullptr! PTR = 0x{:08X}", texAddress);
}
}
}
diff --git a/out.txt b/out.txt
new file mode 100644
index 0000000..bc7272b
--- /dev/null
+++ b/out.txt
Binary files differ