Commit f45b7078 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Copy extended registers too in copy_context().

parent 93cdead1
......@@ -886,6 +886,10 @@ static inline void copy_context( CONTEXT *to, const CONTEXT *from, DWORD flags )
{
to->FloatSave = from->FloatSave;
}
if (flags & CONTEXT_EXTENDED_REGISTERS)
{
memcpy( to->ExtendedRegisters, from->ExtendedRegisters, sizeof(to->ExtendedRegisters) );
}
#elif defined(__x86_64__)
flags &= ~CONTEXT_AMD64; /* get rid of CPU id */
if (flags & CONTEXT_CONTROL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment