From 1b31eb9e4a76b334f011ed53b26d84a72b0ece7f Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 12 Oct 2021 22:46:15 +0100 Subject: [PATCH] Common: Fix AT&T mixup in FastJmp code --- common/FastJmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/FastJmp.cpp b/common/FastJmp.cpp index 7ec395eb50..18607d8269 100644 --- a/common/FastJmp.cpp +++ b/common/FastJmp.cpp @@ -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