Updated AdjustAddress_10

This commit is contained in:
Silent 2018-04-09 00:15:52 +02:00
parent d709936322
commit ece6078cc9
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -249,12 +249,15 @@ namespace Memory
inline uintptr_t AdjustAddress_10(uintptr_t address10)
{
if ( *GetEuropean() && address10 > 0x7466D0 )
{
if ( address10 < 0x7BA940 )
address10 += 0x50;
else
address10 += 0x40;
if ( *GetEuropean() )
{
if ( address10 >= 0x746720 && address10 < 0x857000 )
{
if ( address10 >= 0x7BA940 )
address10 += 0x40;
else
address10 += 0x50;
}
}
return address10;
}