Common: Fix AT&T mixup in FastJmp code

This commit is contained in:
refractionpcsx2 2021-10-12 22:46:15 +01:00
parent d36043c678
commit 1b31eb9e4a
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ asm(
"\t.global " PREFIX "fastjmp_jmp\n"
"\t.text\n"
"\t" PREFIX "fastjmp_set:" R"(
movl %eax, 0(%esp)
movl 0(%esp), %eax
movl %esp, %edx # fixup stack pointer, so it doesn't include the call to fastjmp_set
addl $4, %edx
movl %eax, 0(%ecx) # actually eip