summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/VirtualMemory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/core/VirtualMemory.cpp')
-rw-r--r--view/sharedcache/core/VirtualMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/VirtualMemory.cpp b/view/sharedcache/core/VirtualMemory.cpp
index 71dafd0c..292cda06 100644
--- a/view/sharedcache/core/VirtualMemory.cpp
+++ b/view/sharedcache/core/VirtualMemory.cpp
@@ -265,7 +265,7 @@ uint64_t VirtualMemoryReader::ReadPointer()
uint64_t VirtualMemoryReader::ReadPointer(uint64_t address)
{
- m_cursor = m_memory->GetAddressSize();
+ m_cursor = address + m_addressSize;
return m_memory->ReadPointer(address);
}