wow64cpu: Use different JMP instruction to work around Rosetta bug.
commit6d19495ed7baea31dc27a46bcd039db8152d274b
authorBrendan Shanks <bshanks@codeweavers.com>
Thu, 14 Apr 2022 17:19:07 +0000 (14 10:19 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Apr 2022 19:35:22 +0000 (18 21:35 +0200)
tree1446e27e0912b4c011fef655fbc81bbe32bd10cd
parent1a2482be2dce854bed01bcf0202be0eb7cef8931
wow64cpu: Use different JMP instruction to work around Rosetta bug.

Rosetta 2 on macOS 11 and 12 (before 12.4) does not support the 0xEA JMP
instruction, use the indirect form instead.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wow64cpu/cpu.c