summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-13 06:37:10 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-13 06:37:10 +0200
commit67f6e414702cbb83a53392e1cca229875a186cea (patch)
treea3023c63aa8a0cc9c993bdc066c06abb4e91de87 /src/core/hle/hle.h
parentfixed hw write declarations to not be const (diff)
downloadyuzu-67f6e414702cbb83a53392e1cca229875a186cea.tar
yuzu-67f6e414702cbb83a53392e1cca229875a186cea.tar.gz
yuzu-67f6e414702cbb83a53392e1cca229875a186cea.tar.bz2
yuzu-67f6e414702cbb83a53392e1cca229875a186cea.tar.lz
yuzu-67f6e414702cbb83a53392e1cca229875a186cea.tar.xz
yuzu-67f6e414702cbb83a53392e1cca229875a186cea.tar.zst
yuzu-67f6e414702cbb83a53392e1cca229875a186cea.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/hle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h
index 5ee90bcdc..d02948be3 100644
--- a/src/core/hle/hle.h
+++ b/src/core/hle/hle.h
@@ -46,6 +46,12 @@ inline void Read(T &var, const u32 addr);
template <typename T>
inline void Write(u32 addr, const T data);
+u8* GetPointer(const u32 Address);
+
+inline const char* GetCharPointer(const u32 address) {
+ return (const char *)GetPointer(address);
+}
+
void RegisterModule(std::string name, int num_functions, const FunctionDef *func_table);
void CallSyscall(u32 opcode);