summaryrefslogtreecommitdiff
path: root/src/core/hw/ndma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hw/ndma.cpp')
-rw-r--r--src/core/hw/ndma.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/ndma.cpp b/src/core/hw/ndma.cpp
index 158241fd6..e29a773f1 100644
--- a/src/core/hw/ndma.cpp
+++ b/src/core/hw/ndma.cpp
@@ -10,12 +10,12 @@ namespace NDMA {
10 10
11template <typename T> 11template <typename T>
12inline void Read(T &var, const u32 addr) { 12inline void Read(T &var, const u32 addr) {
13 ERROR_LOG(NDMA, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr); 13 ERROR_LOG(NDMA, "unknown Read%lu @ 0x%08X", sizeof(var) * 8, addr);
14} 14}
15 15
16template <typename T> 16template <typename T>
17inline void Write(u32 addr, const T data) { 17inline void Write(u32 addr, const T data) {
18 ERROR_LOG(NDMA, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr); 18 ERROR_LOG(NDMA, "unknown Write%lu 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
19} 19}
20 20
21// Explicitly instantiate template functions because we aren't defining this in the header: 21// Explicitly instantiate template functions because we aren't defining this in the header: