diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-07-11 19:29:12 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-07-23 00:33:08 +0200 |
commit | 9d618d0b705e3b8de5594512a555f469631e274b (patch) | |
tree | d70ba534e0221bf2445c89dec9a8464060ce5766 /src/core/hw/gpu.h | |
parent | 46950ee4de0b1f2c30c26467b60e38c6a38d19b8 (diff) |
GPU: Interface cleanup.
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r-- | src/core/hw/gpu.h | 4 |
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); */ const u8* GetFramebufferPointer(const u32 address); +u32 GetFramebufferAddr(const u32 address); + /** * Gets the location of the framebuffers */ -const FramebufferLocation GetFramebufferLocation(); +FramebufferLocation GetFramebufferLocation(u32 address); template <typename T> inline void Read(T &var, const u32 addr); |