mem_map: Updated interface to expose template functions to other modules.

This commit is contained in:
bunnei 2014-07-04 23:46:16 -04:00
parent ad1adb2f92
commit 3013015a0c
2 changed files with 16 additions and 10 deletions

View file

@ -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);