mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-12 13:35:46 -04:00
api: use MmGetHostAddress instead of g_memory.Translate
This commit is contained in:
@@ -3,6 +3,6 @@ namespace SWA
|
||||
// TODO: Hedgehog::Base::TSynchronizedPtr<CGameDocument>
|
||||
inline CGameDocument* CGameDocument::GetInstance()
|
||||
{
|
||||
return *(xpointer<CGameDocument>*)g_memory.Translate(0x83367900);
|
||||
return *(xpointer<CGameDocument>*)MmGetHostAddress(0x83367900);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user