diff options
| author | rozlette <Rozelette@users.noreply.github.com> | 2022-02-03 15:55:09 -0600 |
|---|---|---|
| committer | M4xw <m4x@m4xw.net> | 2022-02-17 21:03:23 +0100 |
| commit | 2ccdf814d29484c848aa6752b760b0138afb64b5 (patch) | |
| tree | 4edaf27fc04022ce27224419a3f140de9c8e1b44 | |
| parent | 50538ee4beaf3bb1c702af92adf38daa5210690e (diff) | |
Fix spdlog formatting
| -rw-r--r-- | OTRExporter/DisplayListExporter.cpp | 10 | ||||
| -rw-r--r-- | out.txt | bin | 0 -> 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); } } } Binary files differ |
