mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Updated AdjustAddress_10
This commit is contained in:
parent
d709936322
commit
ece6078cc9
1 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue