diff options
| author | 2014-07-22 13:49:25 +0200 | |
|---|---|---|
| committer | 2014-07-23 00:44:31 +0200 | |
| commit | afcb250b3140fa2f37efa800f5346aabbde5db2a (patch) | |
| tree | 2a80ff39f2d165d75b73a608a4d22ab055129a83 /src/core/hw | |
| parent | GPU: Clarify display transfer code. (diff) | |
| download | yuzu-afcb250b3140fa2f37efa800f5346aabbde5db2a.tar.gz yuzu-afcb250b3140fa2f37efa800f5346aabbde5db2a.tar.xz yuzu-afcb250b3140fa2f37efa800f5346aabbde5db2a.zip | |
Fix a few warnings.
Templates shouldn't be marked as inline if they aren't defined in the header.
Diffstat (limited to 'src/core/hw')
| -rw-r--r-- | src/core/hw/gpu.h | 4 | ||||
| -rw-r--r-- | src/core/hw/hw.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h index 3078e4142..42f18a0e7 100644 --- a/src/core/hw/gpu.h +++ b/src/core/hw/gpu.h | |||
| @@ -235,10 +235,10 @@ u32 GetFramebufferAddr(const u32 address); | |||
| 235 | FramebufferLocation GetFramebufferLocation(u32 address); | 235 | FramebufferLocation GetFramebufferLocation(u32 address); |
| 236 | 236 | ||
| 237 | template <typename T> | 237 | template <typename T> |
| 238 | inline void Read(T &var, const u32 addr); | 238 | void Read(T &var, const u32 addr); |
| 239 | 239 | ||
| 240 | template <typename T> | 240 | template <typename T> |
| 241 | inline void Write(u32 addr, const T data); | 241 | void Write(u32 addr, const T data); |
| 242 | 242 | ||
| 243 | /// Update hardware | 243 | /// Update hardware |
| 244 | void Update(); | 244 | void Update(); |
diff --git a/src/core/hw/hw.h b/src/core/hw/hw.h index 92e9304ca..1055ed94f 100644 --- a/src/core/hw/hw.h +++ b/src/core/hw/hw.h | |||
| @@ -9,10 +9,10 @@ | |||
| 9 | namespace HW { | 9 | namespace HW { |
| 10 | 10 | ||
| 11 | template <typename T> | 11 | template <typename T> |
| 12 | inline void Read(T &var, const u32 addr); | 12 | void Read(T &var, const u32 addr); |
| 13 | 13 | ||
| 14 | template <typename T> | 14 | template <typename T> |
| 15 | inline void Write(u32 addr, const T data); | 15 | void Write(u32 addr, const T data); |
| 16 | 16 | ||
| 17 | /// Update hardware | 17 | /// Update hardware |
| 18 | void Update(); | 18 | void Update(); |