added a GetPointer function for reading from HLE command buffer
This commit is contained in:
parent
f2f63a0f05
commit
67f6e41470
2 changed files with 14 additions and 0 deletions
|
@ -46,6 +46,12 @@ inline void Read(T &var, const u32 addr);
|
|||
template <typename T>
|
||||
inline void Write(u32 addr, const T data);
|
||||
|
||||
u8* GetPointer(const u32 Address);
|
||||
|
||||
inline const char* GetCharPointer(const u32 address) {
|
||||
return (const char *)GetPointer(address);
|
||||
}
|
||||
|
||||
void RegisterModule(std::string name, int num_functions, const FunctionDef *func_table);
|
||||
|
||||
void CallSyscall(u32 opcode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue