[Colors] Make hook secure
This commit is contained in:
parent
e75c662687
commit
1685a61288
@ -208,12 +208,12 @@ namespace Components
|
|||||||
{
|
{
|
||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
push ebx
|
pushad
|
||||||
push [esp + 8h] // Index
|
push [esp + 24h] // Index
|
||||||
push esi // Color ref
|
push esi // Color ref
|
||||||
call Colors::LookupColor
|
call Colors::LookupColor
|
||||||
add esp, 8h
|
add esp, 8h
|
||||||
pop ebx
|
popad
|
||||||
retn
|
retn
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user