summaryrefslogtreecommitdiff
path: root/src/core/mem_map.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-07-04 23:46:16 -0400
committerGravatar bunnei2014-07-04 23:46:16 -0400
commit3013015a0c7b830c9985e4d3a6b2bd66f15546e2 (patch)
tree1b514233226d458efa501d9367cccc11bbe8e700 /src/core/mem_map.h
parentMerge pull request #26 from bunnei/romfs-archive (diff)
downloadyuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.gz
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.xz
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.zip
mem_map: Updated interface to expose template functions to other modules.
Diffstat (limited to 'src/core/mem_map.h')
-rw-r--r--src/core/mem_map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h
index d5899e4bb..70a8dedcf 100644
--- a/src/core/mem_map.h
+++ b/src/core/mem_map.h
@@ -128,6 +128,12 @@ extern u8* g_exefs_code; ///< ExeFS:/.code is loaded here
128void Init(); 128void Init();
129void Shutdown(); 129void Shutdown();
130 130
131template <typename T>
132inline void Read(T &var, const u32 addr);
133
134template <typename T>
135inline void Write(u32 addr, const T data);
136
131u8 Read8(const u32 addr); 137u8 Read8(const u32 addr);
132u16 Read16(const u32 addr); 138u16 Read16(const u32 addr);
133u32 Read32(const u32 addr); 139u32 Read32(const u32 addr);