diff options
author | Lioncash <mathew1800@gmail.com> | 2018-05-02 15:14:28 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-05-02 15:49:36 +0200 |
commit | 7c9644646f595605036b9fe9e51c44716ee60fa3 (patch) | |
tree | 20f8f60d78ed7db5c76629d452ed196d43dc3e78 /src/core/hw | |
parent | Merge pull request #429 from Subv/ioctl_corruption (diff) | |
download | yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.gz yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.bz2 yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.lz yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.xz yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.zst yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.zip |
Diffstat (limited to 'src/core/hw')
-rw-r--r-- | src/core/hw/hw.cpp | 4 | ||||
-rw-r--r-- | src/core/hw/lcd.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hw/hw.cpp b/src/core/hw/hw.cpp index f8a40390a..8fc91dc9c 100644 --- a/src/core/hw/hw.cpp +++ b/src/core/hw/hw.cpp @@ -33,7 +33,7 @@ inline void Read(T& var, const u32 addr) { LCD::Read(var, addr); break; default: - NGLOG_ERROR(HW_Memory, "Unknown Read{} @ {:#010X}", sizeof(var) * 8, addr); + NGLOG_ERROR(HW_Memory, "Unknown Read{} @ 0x{:08X}", sizeof(var) * 8, addr); break; } } @@ -62,7 +62,7 @@ inline void Write(u32 addr, const T data) { LCD::Write(addr, data); break; default: - NGLOG_ERROR(HW_Memory, "Unknown Write{} {:#010X} @ {:#010X}", sizeof(data) * 8, data, addr); + NGLOG_ERROR(HW_Memory, "Unknown Write{} 0x{:08X} @ 0x{:08X}", sizeof(data) * 8, data, addr); break; } } diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp index 7d0046bf3..e8525efde 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; } |