https://bugs.winehq.org/show_bug.cgi?id=56050
Bug ID: 56050 Summary: NtContinue does not set integer registers without CONTEXT_AMD64 flag Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: moonshadow565@hotmail.com Distribution: ---
Created attachment 75703 --> https://bugs.winehq.org/attachment.cgi?id=75703 NtContinue without CONTEXT_AMD64
When calling NtContinue without CONTEXT_AMD64 flag set, NtContinue ignores integer registers. This will result in incorrect values in register. This does not match behaviour observed on windows.
https://bugs.winehq.org/show_bug.cgi?id=56050
--- Comment #1 from moonshadow565@hotmail.com --- Created attachment 75704 --> https://bugs.winehq.org/attachment.cgi?id=75704 set_full_context quick fix
Quick fix for only checking important bits of flags on x86_64 only. Unsure if this is correct approach. Maybe it would be better to copy the CONTEXT and apply corrections to flags instead.
https://bugs.winehq.org/show_bug.cgi?id=56050
Jinoh Kang jinoh.kang.kr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jinoh.kang.kr@gmail.com
--- Comment #2 from Jinoh Kang jinoh.kang.kr@gmail.com --- Is this related to League of Legends?
https://bugs.winehq.org/show_bug.cgi?id=56050
Henry Moor henrymoor@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |henrymoor@web.de
--- Comment #3 from Henry Moor henrymoor@web.de --- (In reply to Jinoh Kang from comment #2)
Is this related to League of Legends?
Yes, it is. GloriousEggroll's wine build for League of Legends carries this patch.
See https://github.com/GloriousEggroll/wine-ge-custom/blob/master/patches/LoL/Lo...