summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-07-11 19:29:12 +0200
committerGravatar Tony Wasserka2014-07-23 00:33:08 +0200
commit9d618d0b705e3b8de5594512a555f469631e274b (patch)
treed70ba534e0221bf2445c89dec9a8464060ce5766 /src/core/hw/gpu.h
parentGPU: Initialize GPU registers to some sensible default state. (diff)
downloadyuzu-9d618d0b705e3b8de5594512a555f469631e274b.tar.gz
yuzu-9d618d0b705e3b8de5594512a555f469631e274b.tar.xz
yuzu-9d618d0b705e3b8de5594512a555f469631e274b.zip
GPU: Interface cleanup.
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r--src/core/hw/gpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index 47d7fcb26..b66cf4a37 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -219,10 +219,12 @@ void SetFramebufferLocation(const FramebufferLocation mode);
219 */ 219 */
220const u8* GetFramebufferPointer(const u32 address); 220const u8* GetFramebufferPointer(const u32 address);
221 221
222u32 GetFramebufferAddr(const u32 address);
223
222/** 224/**
223 * Gets the location of the framebuffers 225 * Gets the location of the framebuffers
224 */ 226 */
225const FramebufferLocation GetFramebufferLocation(); 227FramebufferLocation GetFramebufferLocation(u32 address);
226 228
227template <typename T> 229template <typename T>
228inline void Read(T &var, const u32 addr); 230inline void Read(T &var, const u32 addr);