From 726c7d93c15336690fe7e32a7a7a66b861176aa7 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Tue, 26 Jan 2016 12:53:29 +0000 Subject: [PATCH] Memory: Fix documentation for ExtractFromMemory and InjectIntoMemory --- src/core/memory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/memory.h b/src/core/memory.h index 4f482a6c2..79749ae7c 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -132,7 +132,7 @@ void WriteBlock(VAddr addr, const u8* data, size_t size); u8* GetPointer(VAddr virtual_address); /** -* 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 boost::optional ExtractFromMemory(VAddr address) { @@ -149,7 +149,7 @@ boost::optional 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 bool InjectIntoMemory(VAddr address, const T& object) {