aboutsummaryrefslogtreecommitdiff
path: root/src/core/hw/lcd.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-02 15:24:41 -0400
committerGitHub <noreply@github.com>2018-05-02 15:24:41 -0400
commit618cce317265eacfc9200727b473d331b4aa55a3 (patch)
treeedfd9282300ba280bf51ba8a99f8a727122a31c0 /src/core/hw/lcd.cpp
parent7d3a42dccdd421319e60f80faf11a7fdcc7ca228 (diff)
parent1b310cbb3a5259e172ac09888e602520f383f19d (diff)
Merge pull request #431 from lioncash/fmt
general: Make formatting of logged hex values more straightforward
Diffstat (limited to 'src/core/hw/lcd.cpp')
-rw-r--r--src/core/hw/lcd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp
index 7d0046bf3d..e8525efdec 100644
--- a/src/core/hw/lcd.cpp
+++ b/src/core/hw/lcd.cpp
@@ -20,7 +20,7 @@ inline void Read(T& var, const u32 raw_addr) {
// Reads other than u32 are untested, so I'd rather have them abort than silently fail
if (index >= 0x400 || !std::is_same<T, u32>::value) {
- NGLOG_ERROR(HW_LCD, "Unknown Read{} @ {:#010X}", sizeof(var) * 8, addr);
+ NGLOG_ERROR(HW_LCD, "Unknown Read{} @ 0x{:08X}", sizeof(var) * 8, addr);
return;
}
@@ -34,7 +34,7 @@ inline void Write(u32 addr, const T data) {
// Writes other than u32 are untested, so I'd rather have them abort than silently fail
if (index >= 0x400 || !std::is_same<T, u32>::value) {
- NGLOG_ERROR(HW_LCD, "Unknown Write{} {:#010X} @ {:#010X}", sizeof(data) * 8, data, addr);
+ NGLOG_ERROR(HW_LCD, "Unknown Write{} 0x{:08X} @ 0x{:08X}", sizeof(data) * 8, data, addr);
return;
}