diff options
| author | 2014-04-10 19:56:30 -0400 | |
|---|---|---|
| committer | 2014-04-10 19:56:30 -0400 | |
| commit | d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e (patch) | |
| tree | 4076b1a29b5c40bb4dc3d3e1375c7289ab10d198 /src | |
| parent | cleaned up arm_interface, added a setter to set registers for use with HLE re... (diff) | |
| download | yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.gz yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.tar.xz yuzu-d9bb4f11c61503bd2e40d2ea9fc9795c55e48c2e.zip | |
added Memory::GetCharPointer to read strings from HLE functions
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/mem_map.h | 4 |
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 | ||
| 71 | u8* GetPointer(const u32 Address); | 71 | u8* GetPointer(const u32 Address); |
| 72 | 72 | ||
| 73 | inline const char* GetCharPointer(const u32 address) { | ||
| 74 | return (const char *)GetPointer(address); | ||
| 75 | } | ||
| 76 | |||
| 73 | } // namespace | 77 | } // namespace |