summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-10 19:56:30 -0400
committerGravatar bunnei2014-04-10 19:56:30 -0400
commitd9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e (patch)
tree4076b1a29b5c40bb4dc3d3e1375c7289ab10d198 /src/core
parentcleaned up arm_interface, added a setter to set registers for use with HLE re... (diff)
downloadyuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.gz
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.xz
yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.zip
added Memory::GetCharPointer to read strings from HLE functions
Diffstat (limited to 'src/core')
-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);
70 70
71u8* GetPointer(const u32 Address); 71u8* GetPointer(const u32 Address);
72 72
73inline const char* GetCharPointer(const u32 address) {
74 return (const char *)GetPointer(address);
75}
76
73} // namespace 77} // namespace