summaryrefslogtreecommitdiffstats
path: root/src/core/mem_map.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-07-05 05:46:16 +0200
committerbunnei <bunneidev@gmail.com>2014-07-05 05:46:16 +0200
commit3013015a0c7b830c9985e4d3a6b2bd66f15546e2 (patch)
tree1b514233226d458efa501d9367cccc11bbe8e700 /src/core/mem_map.h
parentMerge pull request #26 from bunnei/romfs-archive (diff)
downloadyuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.gz
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.bz2
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.lz
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.xz
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.tar.zst
yuzu-3013015a0c7b830c9985e4d3a6b2bd66f15546e2.zip
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
void Init();
void Shutdown();
+template <typename T>
+inline void Read(T &var, const u32 addr);
+
+template <typename T>
+inline void Write(u32 addr, const T data);
+
u8 Read8(const u32 addr);
u16 Read16(const u32 addr);
u32 Read32(const u32 addr);