[Colors] Make hook secure

This commit is contained in:
momo5502 2017-06-22 18:31:06 +02:00
parent e75c662687
commit 1685a61288

View File

@ -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
} }
} }