summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-07-22 13:49:25 +0200
committerGravatar Tony Wasserka2014-07-23 00:44:31 +0200
commitafcb250b3140fa2f37efa800f5346aabbde5db2a (patch)
tree2a80ff39f2d165d75b73a608a4d22ab055129a83 /src/core/hw/gpu.h
parentGPU: Clarify display transfer code. (diff)
downloadyuzu-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/gpu.h')
-rw-r--r--src/core/hw/gpu.h4
1 files changed, 2 insertions, 2 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);
235FramebufferLocation GetFramebufferLocation(u32 address); 235FramebufferLocation GetFramebufferLocation(u32 address);
236 236
237template <typename T> 237template <typename T>
238inline void Read(T &var, const u32 addr); 238void Read(T &var, const u32 addr);
239 239
240template <typename T> 240template <typename T>
241inline void Write(u32 addr, const T data); 241void Write(u32 addr, const T data);
242 242
243/// Update hardware 243/// Update hardware
244void Update(); 244void Update();