diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-05-02 09:14:28 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-05-02 09:49:36 -0400 |
| commit | 7c9644646f595605036b9fe9e51c44716ee60fa3 (patch) | |
| tree | 20f8f60d78ed7db5c76629d452ed196d43dc3e78 /src/core/hle/kernel/object_address_table.cpp | |
| parent | 8262aeeac886f8b03cac5a5050580ac7ac77af4c (diff) | |
general: Make formatting of logged hex values more straightforward
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
Diffstat (limited to 'src/core/hle/kernel/object_address_table.cpp')
| -rw-r--r-- | src/core/hle/kernel/object_address_table.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/object_address_table.cpp b/src/core/hle/kernel/object_address_table.cpp index b88a90f24..ec97f6f8e 100644 --- a/src/core/hle/kernel/object_address_table.cpp +++ b/src/core/hle/kernel/object_address_table.cpp @@ -10,12 +10,12 @@ namespace Kernel { ObjectAddressTable g_object_address_table; void ObjectAddressTable::Insert(VAddr addr, SharedPtr<Object> obj) { - ASSERT_MSG(objects.find(addr) == objects.end(), "Object already exists with addr={:#X}", addr); + ASSERT_MSG(objects.find(addr) == objects.end(), "Object already exists with addr=0x{:X}", addr); objects[addr] = obj; } void ObjectAddressTable::Close(VAddr addr) { - ASSERT_MSG(objects.find(addr) != objects.end(), "Object does not exist with addr={:#X}", addr); + ASSERT_MSG(objects.find(addr) != objects.end(), "Object does not exist with addr=0x{:X}", addr); objects.erase(addr); } |
