Memory: Fix documentation for ExtractFromMemory and InjectIntoMemory
This commit is contained in:
parent
dc478666a3
commit
65d24ad83f
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ u8* GetPointer(VAddr virtual_address);
|
|||
std::string GetString(const VAddr vaddr, const u32 size);
|
||||
|
||||
/**
|
||||
* Extracts a POD type from memory. Returns false if address is invalid.
|
||||
* Extracts an object from memory. Returns boost::none if address is invalid.
|
||||
*/
|
||||
template <typename T>
|
||||
boost::optional<T> ExtractFromMemory(VAddr address) {
|
||||
|
@ -159,7 +159,7 @@ boost::optional<T> ExtractFromMemory(VAddr address) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Injects a POD type into memory. Returns false if address is invalid.
|
||||
* Injects a object into memory. Returns false if address is invalid.
|
||||
*/
|
||||
template <typename T>
|
||||
bool InjectIntoMemory(VAddr address, const T& object) {
|
||||
|
|
Loading…
Reference in a new issue