mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2026-05-03 23:21:38 +00:00
Fix xpointer constructor.
This commit is contained in:
parent
22983bfb35
commit
b9c6b36a4d
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ struct xpointer
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
xpointer(T* ptr) : ptr((uint32_t)ptr)
|
xpointer(T* ptr) : ptr(reinterpret_cast<size_t>(ptr) - reinterpret_cast<size_t>(MmGetHostAddress(0)))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue