added Memory::GetCharPointer to read strings from HLE functions

master
bunnei 2014-04-10 19:56:30 +07:00
parent 95e5436f41
commit d9bb4f11c6
1 changed files with 4 additions and 0 deletions

@ -70,4 +70,8 @@ void Write32(const u32 addr, const u32 data);
u8* GetPointer(const u32 Address); u8* GetPointer(const u32 Address);
inline const char* GetCharPointer(const u32 address) {
return (const char *)GetPointer(address);
}
} // namespace } // namespace