summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-11 01:56:30 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-11 01:56:30 +0200
commitd9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e (patch)
tree4076b1a29b5c40bb4dc3d3e1375c7289ab10d198
parentcleaned up arm_interface, added a setter to set registers for use with HLE return values (diff)
downloadyuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.gz
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.bz2
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.lz
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.xz
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.zst
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.zip
-rw-r--r--src/core/mem_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h
index 1a3bd7234..94469ec8c 100644
--- a/src/core/mem_map.h
+++ b/src/core/mem_map.h
@@ -70,4 +70,8 @@ void Write32(const u32 addr, const u32 data);
u8* GetPointer(const u32 Address);
+inline const char* GetCharPointer(const u32 address) {
+ return (const char *)GetPointer(address);
+}
+
} // namespace