diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-17 03:21:53 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-17 03:21:53 +0200 |
commit | 795d6bf5b7cd822f70213a9024c67efedde8d6a1 (patch) | |
tree | 67d3e36fecec22eeb03e7fefcb4c8c00d6ce7ab5 | |
parent | added class stub for HID:User service (diff) | |
download | yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.tar yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.tar.gz yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.tar.bz2 yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.tar.lz yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.tar.xz yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.tar.zst yuzu-795d6bf5b7cd822f70213a9024c67efedde8d6a1.zip |
-rw-r--r-- | src/core/mem_map_funcs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/mem_map_funcs.cpp b/src/core/mem_map_funcs.cpp index 184296287..3e85a119f 100644 --- a/src/core/mem_map_funcs.cpp +++ b/src/core/mem_map_funcs.cpp @@ -48,7 +48,7 @@ inline void _Read(T &var, const u32 addr) { var = *((const T*)&g_fcram[addr & MEM_FCRAM_MASK]); } else { - _assert_msg_(MEMMAP, false, "unknown memory read @ 0x%08X", addr); + _assert_msg_(MEMMAP, false, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr); } } @@ -109,7 +109,8 @@ inline void _Write(u32 addr, const T data) { // Error out... } else { - _assert_msg_(MEMMAP, false, "unknown memory write"); + _assert_msg_(MEMMAP, false, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, + data, addr); } } |