mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
added Memory::GetCharPointer to read strings from HLE functions
This commit is contained in:
parent
95e5436f41
commit
d9bb4f11c6
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue